SpongeGradle icon indicating copy to clipboard operation
SpongeGradle copied to clipboard

11.0.0-SNAPSHOT apiVersion uses 1.20 instead of 1.20.1 for spongeRuntime

Open jpenilla opened this issue 11 months ago • 1 comments

The + version from SpongePluginGradle#addRuntimeDependency is selecting 1.20 over 1.20.1, it's also in the wrong order on the Nexus web ui

Screenshot

As a workaround I forced the version with

configurations.spongeRuntime {
    resolutionStrategy {
        eachDependency {
            if (target.name == "spongevanilla") {
                useVersion("1.20.1-11.0.0-RC1356")
            }
        }
    }
}

jpenilla avatar Aug 04 '23 01:08 jpenilla