1.4.7
szpak-ci
released this
27 Feb 16:18
·
246 commits
to master
since this release
- Simpler usage with JUnit 5 with
junit5PluginVersion
configuration parameter - #177 - idea by John Scancella - Remove deprecation warnings in Gradle 6 - #155
additionalClasspathFile
no longer marked as@OutputFile
for better Gradle 6+ compatibility- PIT 1.5.0 by default
- Bump minimal Gradle version to 5.6 - required to fix deprecation warnings due to #10953
- upgrade Gradle wrapper to 5.6.4
Starting with this release the configuration required to use PIT with JUnit 5 has been simplified to the following:
plugins {
id 'java'
id 'info.solidsoft.pitest' version '...'
}
pitest {
//adds dependency to org.pitest:pitest-junit5-plugin and sets "testPlugin" to "junit5"
junit5PluginVersion = '0.12'
}
See this blog post for more details.
Compatibility changes. A new set of the configuration parameters (jvmPath
, historyInputLocation
and historyOutputLocation
) has been converted from File
to RegularFileProperty
to prevent deprecation warnings in Gradle 6+. Gradle itself should handle those changes for configuration in build.gradle
, however, there could be some corner cases if those fields were used directly.