Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

11.0.0-SNAPSHOT apiVersion uses 1.20 instead of 1.20.1 for spongeRuntime #70

Open
jpenilla opened this issue Aug 4, 2023 · 1 comment · May be fixed by #82
Open

11.0.0-SNAPSHOT apiVersion uses 1.20 instead of 1.20.1 for spongeRuntime #70

jpenilla opened this issue Aug 4, 2023 · 1 comment · May be fixed by #82

Comments

@jpenilla
Copy link
Contributor

jpenilla commented Aug 4, 2023

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
Copy link
Contributor Author

jpenilla commented Aug 4, 2023

1.20.+ also seems to work for the version override workaround

@jpenilla jpenilla changed the title 11.0.0-SNAPSHOT uses 1.20 instead of 1.20.1 for spongeRuntime 11.0.0-SNAPSHOT apiVersion uses 1.20 instead of 1.20.1 for spongeRuntime Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant