-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
69 lines (58 loc) · 1.24 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
apply plugin: 'maven-publish'
apply plugin: 'java'
apply plugin: "jacoco"
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.5.1'
}
}
apply plugin: 'info.solidsoft.pitest'
version = '1.0-SNAPSHOT'
group 'lewiscowles.core.Ulid'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
}
sourceSets {
main {
java {
srcDir 'src'
}
}
test {
java {
srcDir 'test'
}
}
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination file("${buildDir}/reports/jacoco")
}
}
check.dependsOn jacocoTestReport
pitest {
targetClasses = ['lewiscowles.core.*']
testSourceSets = [sourceSets.test]
mainSourceSets= [sourceSets.main]
junit5PluginVersion = '0.12'
timestampedReports = false
outputFormats = ['HTML']
}