-
Notifications
You must be signed in to change notification settings - Fork 10
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
org.grails.grails-web & org.grails.grails-gsp Gradle Plugin ids with versions not working for snapshots #351
Comments
These gradle plugins will load by version number if placed in settings.gradle
build.gradle
|
This works as designed. It uses the version of grails-gradle-plugin that is in the class path because they are resolved from within that jar. You would never have a different version of the plugins. This will be fixed when we break up and publish the plugins independently. See #340 |
But why does a release version work with works with classpath "org.grails:grails-gradle-plugin:6.2.1"
fails with classpath "org.grails:grails-gradle-plugin:6.2.2-SNAPSHOT"
fails with classpath "org.grails:grails-gradle-plugin:6.2.2-SNAPSHOT"
|
perhaps because gradle plugins don't support snapshots? why are you setting the version in settings.gradle? |
The main example at the top does not use |
org.grails.grails-web
&org.grails.grails-gsp
Gradle Plugin ids work with 6.2.1, but not with 6.2.2-SNAPSHOT. We must be missing something when we publish thegrails-gradle-plugin
snapshots to repo.grails.org.The workaround is to use:
which does allow the project to load and gradle downloads the following files. Only the jar file has a definition for these ids. Removing the version does to resolve the issue.
6.2.1 works fine
6.2.2-SNAPSHOT fails
These plugins are not published to the Gradle Central Plugin Repository
https://plugins.gradle.org/search?term=org.grails.grails-web
https://plugins.gradle.org/search?term=org.grails.grails-gsp
https://plugins.gradle.org/search?term=grails-gradle-plugin
The text was updated successfully, but these errors were encountered: