-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (39 loc) · 1.05 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
plugins {
id 'java'
id 'application'
id 'info.solidsoft.pitest' version '1.7.4'
id 'jacoco'
}
application {
mainClass.set("org.l11gr05.Game")
}
group 'org.l11gr05'
version '1.0-SNAPSHOT'
sourceCompatibility = 14
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testImplementation 'org.mockito:mockito-core:4.8.0'
testImplementation 'net.jqwik:jqwik:1.5.1'
implementation group: 'com.googlecode.lanterna', name: 'lanterna', version: '3.1.1'
}
test {
useJUnitPlatform {
includeEngines('junit-jupiter', 'jqwik')
}
finalizedBy jacocoTestReport // report is always generated after tests run
}
jacoco {
toolVersion = "0.8.8"
reportsDirectory = layout.buildDirectory.dir('reports/jacoco')
}
jacocoTestReport {
dependsOn test // tests are required to run before generating the report
}
pitest {
junit5PluginVersion = '0.32'
}
targetCompatibility = JavaVersion.VERSION_14