-
Notifications
You must be signed in to change notification settings - Fork 50
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
Custom resolution strategies are not working for integrationTest task #36
Comments
Hi @marksarnold, I haven't been able to reproduce this. Could you paste a bit more of your build script (most importantly, the My suspicion is that your In that case, either move the configurations {
all {
resolutionStrategy {
force 'org.jboss.logging:jboss-logging:3.2.0.Final'
}
}
} |
That is the case. Will try changing that and see if it fixes the problem... |
So before, it was like this:
I pulled testSets up and now it is:
This fixed the problem. |
Great that it works now. No issue I can think of, apart from the pitfall that you just experienced.
over
because the closure version will also be called on any configurations that are added afterwards. |
It seems like version resolution strategies are ignored by the plugin's integrationTest task.
Example:
Works for compile, test, and ear tasks, but for integrationTest, it does not work (meaning gradle pulls some other version than the one I specified)
This is both with the STS eclipse plugin and also when calling gradle from the command line.
Gradle is version 3.5
The text was updated successfully, but these errors were encountered: