Skip to content

Commit

Permalink
DTSRD-3583 PI Test Version Config - pitestVersion added to pitest con…
Browse files Browse the repository at this point in the history
…fig, pitest version vars cleanup (#923)
  • Loading branch information
mikebrownccd authored Oct 28, 2024
1 parent 80baec6 commit e8f68f1
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ apply plugin: 'idea'

def versions = [
lombok : '1.18.34',
gradlePitest : '1.15.0',
pitest : '1.16.1',
sonarPitest : '0.5',
junitPitest : '1.2.1',
reformLogging : '6.1.5',
serenity : '2.0.76',
springBoot : '2.7.18',
Expand Down Expand Up @@ -243,7 +246,8 @@ jacocoTestReport {
}

pitest {
junit5PluginVersion = '1.2.1'
pitestVersion = versions.pitest
junit5PluginVersion = versions.junitPitest
targetClasses = ['uk.gov.hmcts.reform.judicialapi.*']
testSourceSets = [sourceSets.test]
excludedClasses = [
Expand Down Expand Up @@ -467,13 +471,14 @@ dependencies {

testImplementation group: 'com.github.mifmif', name: 'generex', version: '1.0.2'

testImplementation 'org.codehaus.sonar-plugins:sonar-pitest-plugin:0.5', {
testImplementation group: 'org.codehaus.sonar-plugins', name: 'sonar-pitest-plugin', {
exclude group: 'junit', module: 'junit'
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}, version: versions.sonarPitest

testImplementation group: 'org.pitest', name: 'pitest', version: versions.pitest
testImplementation 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.15.0'
testImplementation group: 'org.pitest', name: 'pitest-junit5-plugin', version: '0.16'
testImplementation group: 'info.solidsoft.gradle.pitest', name: 'gradle-pitest-plugin', version: versions.gradlePitest
testImplementation group: 'org.pitest', name: 'pitest-junit5-plugin', version: versions.junitPitest

implementation(group: 'io.rest-assured', name: 'rest-assured', version: '3.3.0') {
exclude group: "com.sun.xml.bind", module: "jaxb-osgi"
Expand Down

0 comments on commit e8f68f1

Please sign in to comment.