Skip to content
Snippets Groups Projects
Commit 809e765b authored by Carl Jones's avatar Carl Jones
Browse files

Update .gitlab-ci.yml, build.gradle

parent 5113e6b7
No related branches found
Tags update-ci-and-build
No related merge requests found
image: openjdk:17-jdk image: openjdk:17-alpine
default: default:
...@@ -51,7 +51,6 @@ build:gradle: ...@@ -51,7 +51,6 @@ build:gradle:
- ./build/reports/checkstyle/ - ./build/reports/checkstyle/
- ./build/jacocoHtml - ./build/jacocoHtml
- ./build/libs/*.jar - ./build/libs/*.jar
- ./build/reports/pitest
expire_in: 4 week expire_in: 4 week
...@@ -65,7 +64,6 @@ pages: ...@@ -65,7 +64,6 @@ pages:
- pwd - pwd
- mv ./build/reports/tests/ public - mv ./build/reports/tests/ public
- mv ./build/reports/checkstyle/ public - mv ./build/reports/checkstyle/ public
- mv ./build/reports/pitest/ public
- mv ./build/jacocoHtml/ public - mv ./build/jacocoHtml/ public
- mv ./build/libs/*.jar public - mv ./build/libs/*.jar public
- pwd - pwd
......
...@@ -5,7 +5,6 @@ plugins { ...@@ -5,7 +5,6 @@ plugins {
id 'idea' id 'idea'
id 'application' id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.0' id 'com.github.johnrengelman.shadow' version '7.1.0'
id 'info.solidsoft.pitest' version '1.7.0'
} }
group 'com.nsa.cm6123-6623' group 'com.nsa.cm6123-6623'
...@@ -101,20 +100,6 @@ task buildAndReport { ...@@ -101,20 +100,6 @@ task buildAndReport {
dependsOn build, jacocoTestReport dependsOn build, jacocoTestReport
} }
pitest {
targetClasses = ['com.cm6123.monopoly.*'] //by default "${project.group}.*"
excludedClasses = ['com.cm6123.monopoly.app.*']
//pitestVersion = '1.4.1' //not needed when a default PIT version should be used
threads = 4
outputFormats = ['XML', 'HTML']
timestampedReports = false
junit5PluginVersion = '0.15'
}
//check.dependsOn("pitest") //comment this line out if your build fails with the 'CoverageMinion' error.
rootProject.tasks.named("jar") { rootProject.tasks.named("jar") {
duplicatesStrategy = 'include' duplicatesStrategy = 'include'
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment