-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (41 loc) · 1.14 KB
/
build.gradle
File metadata and controls
49 lines (41 loc) · 1.14 KB
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 'groovy'
id 'net.ltgt.errorprone' version '3.1.0'
id 'application'
id 'jacoco'
id "info.solidsoft.pitest" version '1.15.0'
}
group = 'com.t11g2.project'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
application {
mainClass.set("game.Game")
}
dependencies {
errorprone "com.google.errorprone:error_prone_core:2.20.0"
implementation 'com.google.guava:guava:32.1.2-jre'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
implementation group: 'com.googlecode.lanterna', name: 'lanterna', version: '3.1.1'
testImplementation 'org.spockframework:spock-core:2.0-groovy-3.0'
testImplementation 'org.codehaus.groovy:groovy-all:3.0.21'
}
pitest {
junit5PluginVersion = '1.0.0'
targetClasses = ['controller.*', 'game.*', 'gui.*', 'model.*', 'visualizer.*']
excludedTestClasses = ['game.GameNotPitestable', 'gui.LanternaSCreatorNotPitestable']
}
jacoco {
toolVersion = "0.8.10"
}
tasks.jacocoTestReport {
dependsOn test
reports {
html.required.set(true)
}
}
tasks.test {
useJUnitPlatform()
}