forked from hmcts/em-native-pdf-annotator-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
548 lines (455 loc) · 21.4 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
buildscript {
dependencies {
classpath("net.serenity-bdd:serenity-gradle-plugin:2.3.13")
classpath("net.serenity-bdd:serenity-single-page-report:2.3.13")
}
}
plugins {
id 'application'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'org.springframework.boot' version '2.4.5'
id 'uk.gov.hmcts.java' version '0.12.12'
id 'com.github.ben-manes.versions' version '0.39.0'
id 'org.sonarqube' version '3.3'
id 'jacoco'
id 'checkstyle'
id 'org.liquibase.gradle' version '2.0.4'
id 'au.com.dius.pact' version '4.1.8'
id 'io.franzbecker.gradle-lombok' version '4.0.0'
id "info.solidsoft.pitest" version '1.5.2'
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'net.serenity-bdd.aggregator'
dependencyUpdates.resolutionStrategy {
componentSelection { rules ->
rules.all { ComponentSelection selection ->
boolean rejected = ['alpha', 'beta', 'rc', 'cr', 'm'].any { qualifier ->
selection.candidate.version ==~ /(?i).*[.-]${qualifier}[.\d-]*/
}
if (rejected) {
selection.reject('Release candidate')
}
}
}
}
if (!project.hasProperty('runList')) {
project.ext.runList = 'main'
}
//loading properties file.
Properties liquibaseProps = new Properties()
liquibaseProps.load(new FileInputStream("$projectDir/src/main/resources/liquibase.properties"))
project.ext.diffChangelogFile = 'src/main/resources/db/changelog/' + new Date().format('yyyyMMddHHmmss') + '_changelog.xml'
liquibase {
activities {
main {
driver liquibaseProps.getProperty('driver')
url project.hasProperty("dburl") ? "jdbc:postgresql://$dburl" : liquibaseProps.getProperty('url')
username project.hasProperty("flyway.user") ? "${rootProject.properties['flyway.user']}" : liquibaseProps.getProperty('username')
password project.hasProperty("flyway.password") ? "${rootProject.properties['flyway.password']}" : liquibaseProps.getProperty('password')
changeLogFile liquibaseProps.getProperty('changeLogFile')
referenceUrl liquibaseProps.getProperty('referenceUrl')
defaultSchemaName ''
logLevel 'debug'
classpath 'src/main/resources/'
}
diffLog {
driver liquibaseProps.getProperty('driver')
url project.hasProperty("dburl") ? "jdbc:postgresql://$dburl" : liquibaseProps.getProperty('url')
username project.hasProperty("flyway.user") ? "${rootProject.properties['flyway.user']}" : liquibaseProps.getProperty('username')
password project.hasProperty("flyway.password") ? "${rootProject.properties['flyway.password']}" : liquibaseProps.getProperty('password')
referenceUrl liquibaseProps.getProperty('referenceUrl')
defaultSchemaName ''
logLevel 'debug'
classpath 'src/main/resources/'
}
}
runList = project.ext.runList
}
liquibaseDiff.dependsOn compileJava
liquibaseDiffChangeLog.dependsOn compileJava
group 'uk.gov.hmcts.reform.em.npa'
version '1.0.0'
sourceCompatibility = 11
targetCompatibility = 11
mainClassName = 'uk.gov.hmcts.reform.em.npa.Application'
configurations {
aatCompile.extendsFrom(testCompile)
aatRuntime.extendsFrom(testRuntime)
}
repositories {
jcenter()
mavenLocal()
maven { url 'https://jitpack.io' }
}
def versions = [
postgresql : '42.2.20',
springfoxSwagger : '2.9.2',
h2 : '1.4.199',
liquibase : '3.8.0',
serenity : '2.3.13',
serenityreporter : '2.3.13',
serenityRestAssured: '2.3.4',
pact_version : '4.0.10',
logging : '5.1.7',
gradlePitest : '1.3.0',
sonarPitest : '0.5',
fasterXmlJackson : '2.12.3',
hibernate : '5.4.25.Final',
springSecurity : '5.4.7'
]
sourceSets {
aat {
java {
compileClasspath += main.output
runtimeClasspath += main.output
srcDir('src/aat/java')
}
resources {
srcDir('src/aat/resources')
}
}
contractTest {
java {
compileClasspath += main.output
runtimeClasspath += main.output
srcDir file('src/contractTest/java')
}
resources.srcDir file('src/contactTest/resources')
}
}
dependencyCheck {
suppressionFile = 'config/owasp/dependency-check-suppressions.xml'
}
configurations.all {
exclude group: 'com.vaadin.external.google',module: 'android-json'
exclude group: 'org.glassfish', module: 'jakarta.el'
}
dependencies {
def withoutStuff = {
exclude group: 'com.sun.xml.bind', module: 'jaxb-osgi'
exclude group: 'uk.gov.hmcts.reform', module: 'java-logging-spring'
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-security'
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-test'
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-actuator'
}
def withoutNetty = {
exclude group: 'io.netty', module: 'netty-handler'
exclude group: 'io.netty', module: 'netty-codec-http2'
exclude group: 'io.netty', module: 'netty-transport-native-kqueue'
exclude group: 'io.netty', module: 'netty-transport-native-epoll'
exclude group: 'org.eclipse.jetty.alpn', module: 'alpn-api'
}
implementation group: 'org.apache.tomcat.embed', name: 'tomcat-embed-core', version: '9.0.48'
implementation group: 'org.apache.tomcat.embed', name: 'tomcat-embed-websocket', version: '9.0.48'
compile group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
compile ('org.springframework.cloud:spring-cloud-openfeign:3.0.3') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-actuator'
}
compile 'org.projectlombok:lombok:1.18.20'
compile group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.24'
compile group: 'org.apache.pdfbox', name: 'jbig2-imageio', version: '3.0.3'
compile 'com.squareup.okhttp3:okhttp:4.9.1'
compile("org.springframework.boot:spring-boot-starter-batch:2.4.5")
compile "org.springframework.boot:spring-boot-actuator:2.4.5"
compile("org.springframework.boot:spring-boot-autoconfigure:2.4.5")
compile("org.springframework.boot:spring-boot:2.4.5")
compile 'org.springframework.boot:spring-boot-starter-validation:2.4.5'
compile group:'org.apache.logging.log4j', name: 'log4j-core', version: '2.14.1'
compile group:'com.fasterxml.jackson.datatype', name: 'jackson-datatype-json-org', version: versions.fasterXmlJackson
compile group:'com.fasterxml.jackson.datatype', name: 'jackson-datatype-hppc', version: versions.fasterXmlJackson
compile group:'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: versions.fasterXmlJackson
compile group:'com.fasterxml.jackson.datatype', name: 'jackson-datatype-hibernate5', version: versions.fasterXmlJackson
compile group:'com.fasterxml.jackson.core', name: 'jackson-annotations', version: versions.fasterXmlJackson
compile group:'com.fasterxml.jackson.core', name: 'jackson-databind', version: versions.fasterXmlJackson
compile group:'com.fasterxml.jackson.core', name: 'jackson-core', version: versions.fasterXmlJackson
compile group:'com.fasterxml.jackson.module', name: 'jackson-module-afterburner', version: versions.fasterXmlJackson
compile "org.zalando:problem-spring-web:0.26.2"
compile("io.springfox:springfox-swagger2:${versions.springfoxSwagger}")
compile("io.springfox:springfox-swagger-ui:${versions.springfoxSwagger}")
compile("org.springframework.boot:spring-boot-starter-web:2.4.5")
compile('org.springframework.boot:spring-boot-starter-data-jpa:2.4.5')
compile group: 'org.springframework.security', name: 'spring-security-oauth2-resource-server', version: versions.springSecurity
compile group: 'org.springframework.security', name: 'spring-security-oauth2-client', version: versions.springSecurity
compile group: 'org.springframework.security', name: 'spring-security-web', version: versions.springSecurity
compile group: 'org.springframework.security', name: 'spring-security-oauth2-jose', version: versions.springSecurity
compile group: 'org.springframework.security', name: 'spring-security-oauth2-core', version: versions.springSecurity
compile group: 'org.springframework.security', name: 'spring-security-config', version: versions.springSecurity
compile group: 'org.springframework.security', name: 'spring-security-core', version: versions.springSecurity
compile( 'org.apache.httpcomponents:httpclient:4.5.10')
compile "org.liquibase:liquibase-core:4.4.3"
liquibaseRuntime "org.liquibase:liquibase-core:4.4.3"
liquibaseRuntime "org.liquibase.ext:liquibase-hibernate5:4.4.2"
liquibaseRuntime sourceSets.main.compileClasspath
liquibaseRuntime sourceSets.main.output
liquibaseRuntime "org.liquibase:liquibase-groovy-dsl:3.0.2"
liquibaseRuntime group: 'org.postgresql', name: 'postgresql', version: versions.postgresql
liquibaseRuntime "com.h2database:h2"
compile group: 'org.postgresql', name: 'postgresql', version: versions.postgresql
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.4'
compile group: 'commons-validator', name: 'commons-validator', version: '1.7'
compile "javax.transaction:javax.transaction-api"
compile group: 'org.ehcache', name: 'ehcache', version: '3.9.5'
compile "com.zaxxer:HikariCP:5.0.0"
compile group: 'javax.el', name: 'javax.el-api', version: '3.0.0'
compile group:'org.hibernate', name: 'hibernate-core', version: versions.hibernate
compile group:'org.hibernate', name: 'hibernate-jcache', version: versions.hibernate
compile group:'org.hibernate', name: 'hibernate-entitymanager', version: versions.hibernate
compile group:'org.hibernate', name: 'hibernate-envers', version: versions.hibernate
compile group: 'uk.gov.hmcts.reform.auth', name: 'auth-checker-lib', version: '2.1.4'
compile group: 'uk.gov.hmcts.reform', name: 'service-auth-provider-client', version: '4.0.0'
compile group: 'uk.gov.hmcts.reform', name: 'idam-client', version: '2.0.0'
compile group: 'org.apache.tika', name: 'tika-core', version: '2.1.0'
compile "org.mapstruct:mapstruct-jdk8:${mapstruct_version}"
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
annotationProcessor "org.mapstruct:mapstruct-processor:${mapstruct_version}"
annotationProcessor group:'org.hibernate', name: 'hibernate-jpamodelgen', version: versions.hibernate
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor:2.4.5", withoutStuff
testCompile "org.springframework.boot:spring-boot-starter-test:2.4.5", withoutStuff
testCompile group: 'com.h2database', name: 'h2', version: '1.4.200'
testCompile 'com.github.gmazzo:okhttp-mock:1.3.2'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
compile group: 'uk.gov.hmcts.reform', name: 'logging', version: versions.logging
compile group: 'uk.gov.hmcts.reform', name: 'logging-spring', version: versions.logging
compile group: 'uk.gov.hmcts.reform', name: 'logging-appinsights', version: versions.logging
annotationProcessor 'javax.xml.bind:jaxb-api:2.3.1'
annotationProcessor 'com.sun.xml.bind:jaxb-core:3.0.2'
annotationProcessor 'com.sun.xml.bind:jaxb-impl:3.0.2'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.6.2'
testCompile "org.junit.jupiter:junit-jupiter-api:5.6.3"
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.6.3"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.6.3"
testImplementation group: 'org.pitest', name: 'pitest', version:'1.5.2'
testImplementation 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.5.2'
testCompile group: 'net.serenity-bdd', name: 'serenity-rest-assured', version: versions.serenityRestAssured, withoutStuff
testCompile group: 'net.serenity-bdd', name: 'serenity-core', version: versions.serenity, withoutStuff
testCompile group: 'net.serenity-bdd', name: 'serenity-junit', version: versions.serenity
testCompile group: 'net.serenity-bdd', name: 'serenity-spring', version: versions.serenity
testCompile group: 'net.serenity-bdd', name: 'serenity-single-page-report', version: versions.serenityreporter
testCompile 'com.github.hmcts:fortify-client:1.2.0:all'
contractTestCompile group: 'au.com.dius', name: 'pact-jvm-consumer-junit', version: versions.pact_version, withoutNetty
contractTestCompile group: 'au.com.dius', name: 'pact-jvm-consumer-junit5', version: versions.pact_version, withoutNetty
contractTestCompile group: 'au.com.dius', name: 'pact-jvm-consumer-java8', version: versions.pact_version, withoutNetty
compile group: 'au.com.dius', name: 'pact-jvm-consumer', version: versions.pact_version, withoutNetty
contractTestCompile("org.junit.jupiter:junit-jupiter-api:5.6.3")
contractTestRuntime("org.junit.jupiter:junit-jupiter-engine:5.6.3")
contractTestImplementation('org.junit.jupiter:junit-jupiter-api:5.6.3')
contractTestCompile sourceSets.main.runtimeClasspath
contractTestCompile sourceSets.test.runtimeClasspath
contractTestCompile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
contractTestCompile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5.13'
contractTestCompile group: 'org.apache.httpcomponents', name: 'fluent-hc', version: '4.5.13'
aatCompile 'com.github.hmcts:em-test-helper:1.19.1'
aatCompile group: 'org.apache.poi', name: 'poi', version: '5.0.0'
aatCompile group: 'org.apache.poi', name: 'poi-ooxml', version: '5.0.0'
}
dependencyManagement {
dependencies {
//CVE-2020-15824, CVE-2020-29582
dependencySet(group: 'org.jetbrains.kotlin', version: '1.5.0-M1') {
entry 'kotlin'
entry 'kotlin-stdlib'
entry 'kotlin-reflect'
entry 'kotlin-stdlib-common'
entry 'kotlin-stdlib-jdk7'
entry 'kotlin-stdlib-jdk8'
}
//CVE-2021-29425
dependencySet(group: 'commons-io', version: '2.11.0') {
entry 'commons-io'
}
// Do not change - START
// Changing below will break Serenity Report generation
dependencySet(group: 'junit', version: '4.13') {
entry 'junit'
}
dependencySet(group: 'org.junit.jupiter', version: '5.6.3') {
entry 'junit-jupiter'
entry 'junit-jupiter-api'
entry 'junit-jupiter-params'
}
dependencySet(group: 'org.junit.vintage', version: '5.6.2') {
entry 'junit-vintage-engine'
}
dependencySet(group: 'net.bytebuddy', version: '1.11.2') {
entry 'byte-buddy'
entry 'byte-buddy-agent'
}
// Do not change - END
//CVE-2021-22118
dependencySet(group: 'org.springframework', version: '5.3.8') {
entry 'spring-aop'
entry 'spring-aspects'
entry 'spring-beans'
entry 'spring-context'
entry 'spring-core'
entry 'spring-expression'
entry 'spring-jcl'
entry 'spring-jdbc'
entry 'spring-orm'
entry 'spring-tx'
entry 'spring-web'
entry 'spring-webmvc'
}
//CVE-2021-27568
dependencySet(group: 'net.minidev', version: '2.4.7') {
entry 'json-smart'
}
//CVE-2021-33037
dependencySet(group: 'org.apache.tomcat.embed', version: '9.0.48') {
entry 'tomcat-embed-core'
entry 'tomcat-embed-websocket'
}
}
}
bootJar {
baseName 'rpa-native-pdf-annotator-app'
archiveName = "$baseName"+".jar"
destinationDir = file("$rootDir/build/libs")
manifest {
attributes 'Implementation-Title': project.name, 'Implementation-Version': project.version
}
}
def coverageExclusionList = [
'**uk/gov/hmcts/reform/em/npa/Application*',
'**uk/gov/hmcts/reform/em/npa/appinsights/*',
'**uk/gov/hmcts/reform/em/npa/config/*',
'**uk/gov/hmcts/reform/em/npa/config/logging/*',
'**uk/gov/hmcts/reform/em/npa/domain/*',
'**uk/gov/hmcts/reform/em/npa/service/dto/external/annotation/*',
'**uk/gov/hmcts/reform/em/npa/config/security/*',
'**uk/gov/hmcts/reform/em/npa/ccd/domain/*',
'**uk/gov/hmcts/reform/em/npa/ccd/dto/*',
'**uk/gov/hmcts/reform/em/npa/ccd/exception/*',
'**uk/gov/hmcts/reform/em/npa/service/exception/*',
'**uk/gov/hmcts/reform/em/npa/service/dto/redaction/*',
'**uk/gov/hmcts/reform/em/npa/info/*'
]
checkstyle {
maxWarnings = 10
toolVersion = '8.12'
ignoreFailures = true
// need to set configDir to rootDir otherwise submodule will use submodule/config/checkstyle
reportsDir = file("$project.buildDir/reports/checkstyle")
configFile = new File("$project.buildDir/config/checkstyle")
}
checkstyleMain.shouldRunAfter(compileJava)
test.shouldRunAfter(checkstyleTest)
jacocoTestReport {
executionData(test)
reports {
xml.enabled = true
csv.enabled = false
xml.destination file("${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml")
}
}
project.tasks['sonarqube'].dependsOn test, jacocoTestReport
sonarqube {
properties {
property "sonar.projectName", "${rootProject.name}"
property "sonar.coverage.jacoco.xmlReportPaths", "${jacocoTestReport.reports.xml.destination.path}"
property "sonar.exclusions", coverageExclusionList.join(", ")
property "sonar.pitest.mode", "reuseReport"
property "sonar.pitest.reportsDirectory", "build/reports/pitest"
}
}
idea {
module {
testSourceDirs += project.sourceSets.aat.java.srcDirs
testResourceDirs += project.sourceSets.aat.resources.srcDirs
testSourceDirs += project.sourceSets.contractTest.java.srcDirs
testResourceDirs += project.sourceSets.contractTest.resources.srcDirs
}
}
test {
useJUnitPlatform()
}
task functional(type: Test) {
group = 'Delivery pipeline'
description = 'Executes functional tests'
setTestClassesDirs(sourceSets.aat.output.classesDirs)
setClasspath(sourceSets.aat.runtimeClasspath)
include "uk/gov/hmcts/reform/em/npa/functional/**"
// Serenity Single page Reports
functional.finalizedBy(aggregate)
environment("APPINSIGHTS_INSTRUMENTATIONKEY", "test-key")
}
task smoke(type: Test) {
group = 'Delivery pipeline'
description = 'Executes non-destructive smoke tests'
setTestClassesDirs(sourceSets.aat.output.classesDirs)
setClasspath(sourceSets.aat.runtimeClasspath)
include "uk/gov/hmcts/reform/em/npa/smoke/**"
environment("APPINSIGHTS_INSTRUMENTATIONKEY", "test-key")
}
task migratePostgresDatabase(dependsOn: 'liquibaseUpdate')
task contract(type: Test) {
group = 'Delivery pipeline'
description = 'Runs the consumer Pact tests'
useJUnitPlatform()
testClassesDirs = sourceSets.contractTest.output.classesDirs
classpath = sourceSets.contractTest.runtimeClasspath
include "uk/gov/hmcts/reform/em/npa/**"
systemProperty 'pact.rootDir', "pacts"
environment("APPINSIGHTS_INSTRUMENTATIONKEY", "test-key")
}
task runAndPublishConsumerPactTests(type: Test){
logger.lifecycle("Runs pact Tests")
testClassesDirs = sourceSets.contractTest.output.classesDirs
classpath = sourceSets.contractTest.runtimeClasspath
}
task fortifyScan(type: JavaExec) {
main = "uk.gov.hmcts.fortifyclient.FortifyClientMainApp"
classpath += sourceSets.test.runtimeClasspath
jvmArgs = ['--add-opens=java.base/java.lang.reflect=ALL-UNNAMED']
}
runAndPublishConsumerPactTests.dependsOn contract
runAndPublishConsumerPactTests.finalizedBy pactPublish
project.ext {
pactVersion = getCheckedOutGitCommitHash()
}
def getCheckedOutGitCommitHash() {
'git rev-parse --verify --short HEAD'.execute().text.trim()
}
serenity {
reports = ["single-page-html"]
}
pact {
publish {
pactDirectory = 'pacts'
pactBrokerUrl = System.getenv("PACT_BROKER_FULL_URL") ?: 'https://localhost:80'
version = project.pactVersion
}
}
compileJava.dependsOn processResources
pitest {
logger.lifecycle("Runs PIT Tests")
targetClasses = ['uk.gov.hmcts.reform.em.npa.*']
excludedClasses = [
'uk.gov.hmcts.reform.em.npa.appinsights.*' ,
'uk.gov.hmcts.reform.em.npa.domain.*' ,
'uk.gov.hmcts.reform.em.npa.info.*',
'uk.gov.hmcts.reform.em.npa.Application.java',
'uk.gov.hmcts.reform.em.npa.infrastructure.*'
]
enableDefaultIncrementalAnalysis = true
historyInputLocation = 'build/reports/pitest/fastermutationtesting'
historyOutputLocation = 'build/reports/pitest/fastermutationtestingoutput'
threads = 15
testSourceSets = [sourceSets.test]
mainSourceSets = [sourceSets.main]
fileExtensionsToFilter.addAll('xml','json')
outputFormats = ['XML', 'HTML','CSV']
coverageThreshold = 0
maxMutationsPerClass = 15
jvmArgs = ['-Xms1G','-Xmx3G']
timestampedReports = false
failWhenNoMutations = false
detectInlinedCode = true
threads = 10
outputFormats = ['XML', 'HTML']
timestampedReports = false
failWhenNoMutations = false
}
project.tasks['pitest'].group = "Verification"