szpak / gradle-pitest-plugin

Gradle plugin for PIT Mutation Testing
http://gradle-pitest-plugin.solidsoft.info/
213 stars 58 forks source link

Java gradle plugin #183

Closed 3flex closed 4 years ago

3flex commented 4 years ago

Closes #106

mutableCodePaths and srcDirs likely shouldn't have sensitivity to the absolute path, but I've left if that way to match the current behaviour (absolute is used by default when no annotation is used).

I'd also suggest running validateTaskProperties task during CI but that can be added as you prefer.

szpak commented 4 years ago

Thanks, java-gradle-plugin is definitely a good idea to use. When I started developing this plugin it was not available. I would like to get rid of File entirely in the configuration in the next release and then I will get back to your PR.

Btw, does it generate some wrong behavior in your case or is just a warning?

3flex commented 4 years ago

It's just a warning, but can add failOnWarning = true to tasks.validateTaskProperties block which is a good idea if you want it enforced for all PRs.

szpak commented 4 years ago

Thanks.