Closed ThatBlockyPenguin closed 2 years ago
use 0.2.1-SNAPSHOT
How would I add this to my gradle plugins? With this configuration:
plugins {
id 'java'
id 'org.spongepowered.gradle.vanilla' version '0.2.1-SNAPSHOT'
}
I am getting this error:
* What went wrong:
Plugin [id: 'org.spongepowered.gradle.vanilla', version: '0.2.1-SNAPSHOT'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'org.spongepowered.gradle.vanilla:org.spongepowered.gradle.vanilla.gradle.plugin:0.2.1-SNAPSHOT')
Searched in the following repositories:
Gradle Central Plugin Repository
When I try to build my project with Minecraft 1.18, 1.18.1 or 1.18.2, it fails with this error:
However, looking at this repo, I can see that the ASM version specified is above 8 - 9.1 at the release of version 0.2 of VanillaGradle. I have also tried 1.16.5, 1.17, and 1.17.1, all which work flawlessly.