-
-
Notifications
You must be signed in to change notification settings - Fork 967
Add cglib dependency to the Grails project test scope #547
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
Conversation
|
Thanks @candrews , |
15862a1 to
b1d2d14
Compare
|
I used cglib:cglib because that's what's used in build.gradle: https://github.com/grails/grails-core/blob/v2.4.3/build.gradle#L200 I've updated the PR to use cglib:cglib-nodep - should we make the same change to build.gradle? |
This change addresses GRAILS-11535
b1d2d14 to
d593799
Compare
Add cglib dependency to the Grails project test scope
|
I think that this change adds the dependency to the test runtime but does not add the dependency to the build so the dependency isn't going to be in the distribution. Am I wrong about that? |
|
@jeffbrown I tried it using a Grails project (see my earlier comment at #547 (comment) ) - it adds the dependency to the test scope of the project, which seems correct. Please feel free to try it as I did, of course - if there's something wrong, I'll be happy to address it. |
|
I don't think the cglib jar is being addd to the distribution. That is what I am asking about. I think that if the user doesn't happen to already have the dependency in their local cache it will have to be downloaded at test time. In general we ship dependencies with the distribution so that doesn't have to happen. |
|
I will add it to the distribution. Not a big deal. Thanks again for the help. |
|
Thanks @jeffbrown - I'm sorry I didn't know about the distribution part. |
Fixes Signing and Publishing of the artifacts.
fix(deps): update dependency org.yaml:snakeyaml to v2.4
This change addresses https://jira.grails.org/browse/GRAILS-11535
I tested this change by creating a new grails project. I ran "grails dependency-report". Then I made this change and ran "grails dependency-report" again. The only difference was the addition of these lines to the "test" scope: