Simplest way to run
./gradlew pitest
To change the version of the junit dependency
./gradlew pitest -PjunitVersion=5.10.0
To change the version of the pitest junit plugin
./gradlew pitest -PpiTestJUnitVersion=1.0.0
To change the version of the pitest gradle plugin
./gradlew pitest -PpiTestPluginVersion=1.9.0
To change the version of the pitest dependency
./gradlew pitest -PpiTestVersion=1.14.1
You can mix and match too
./gradlew pitest -PpiTestPluginVersion=1.9.0 -PpiTestVersion=1.14.1 -PjunitVersion=5.10.0