-
Notifications
You must be signed in to change notification settings - Fork 223
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
Install instructions don't work for Grails 5.1.6 #740
Comments
Subsequently the grails s2-quickstart fails as well with the following message:
|
I subsequently tried this with Grails 5.0.3 and the same problems occurred. |
Could you please try adding the dependency as:
|
Good morning @puneetbehl This morning, using the following environment: grails 5.1.6 I ran the following:
which responded
Then I cd'ed into the folder
at the bottom of the dependencies section Then I ran:
which resulted in:
Then I ran
which resulted in:
Which doesn't seem right to me. |
The solution is grails/grails-core#12460 |
@fernando88to just to confirm - you're suggesting do this:
¿correct? |
yes |
This should be resolved with Grails 5.1.7 |
@puneetbehl @fernando88to my apologies for the delay in responding. I confirm that with the build environment:
(installed from SDKMAN) and with the line
added to build.gradle and with the line
added to gradle.properties the command
runs successfully. I still get the warning message:
I believe the documentation for §26.1.2. 2. “Install” the plugin by adding it to build.gradle needs to be updated to reflect the changes necessary to build.gradle and gradle.properties. |
Expected Behavior
The 5.0.0-RC1 install instructions are to add this line to dependencies in build.gradle:
https://grails.github.io/grails-spring-security-core/5.0.0-RC1/index.html#tutorials
compile 'org.grails.plugins:spring-security-core:5.0.0-RC1'
and then do a
grails compile
followed by configuration.Actual Behaviour
The
grails compile
fails with the following message:It may be the case that in Grails 5.1.6
compile
has been replaced withcompileOnly
- by using this line in dependencies {}compileOnly 'org.grails.plugins:spring-security-core:5.0.0-RC1'
the
grails compile
step works but still emits the deprecated warning. And as for that, I cannot get any combo of--warning-mode all
to produce anything useful.Steps To Reproduce
Grails 5.1.6 JVM 11.0.12 from SDK install brand new application created with
grails create-app wrm
follow Grails Spring Security Core Plugin install instructions here:
https://grails.github.io/grails-spring-security-core/5.0.0-RC1/index.html#tutorials
problem outcome as described above in Actual Behaviour
Environment Information
Example Application
No response
Version
5.1.6
The text was updated successfully, but these errors were encountered: