-
Notifications
You must be signed in to change notification settings - Fork 58
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
Setting up pitest with JUnit5 without keeping any versions in build.gradle #363
Comments
Maybe instead of
Could you paste a link to it? |
You could also try to approach this case from the other side and mimic the helper logic in your init.d, effectively adding gradle-pitest-plugin/src/main/groovy/info/solidsoft/gradle/pitest/PitestPlugin.groovy Lines 235 to 246 in 92cc7a8
|
Hi, we ended up going with setting the version through the ext variable, thank you! The discussion is here, I believe: #334 This issue can be closed, by the way. |
Hi,
our usecase is that we would like to keep all version numbers out of our build.gradle files. Normally, we do this by using init.d in our .gradle folder. This worked well for version of the plugin itself but not so much for the junit5PluginVersion. It also works reasonably well for the other settings, such as mutationThreshold.
In init.d we have a file called pitest.init.gradle that looks like this
The pitest version is set elsewhere. The presented code does not work and it is as if we didn't set the junit5PluginVersion at all. Are we doing something wrong? Is there a way to do this?
I noticed that there was a discussion about it but nothing seemed conclusive.
The text was updated successfully, but these errors were encountered: