forked from rchatley/Weather
-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathbuild.gradle
52 lines (45 loc) · 1.03 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
plugins {
id 'java'
id 'jacoco'
id 'info.solidsoft.pitest' version '1.15.0'
}
version = '1.0.0'
description = """Weather"""
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
testImplementation(platform('org.junit:junit-bom:5.10.1'))
testImplementation('org.junit.jupiter:junit-jupiter')
testImplementation 'org.hamcrest:hamcrest-all:1.3'
testImplementation 'org.mockito:mockito-core:5.8.0'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
jacoco {
toolVersion = "0.8.11"
}
jacocoTestReport {
reports {
html.outputLocation = file("${buildDir}/jacocoHtml")
}
}
pitest{
junit5PluginVersion = '1.2.1'
pitestVersion = '1.15.2'
targetClasses=["com.oocode.*"]
}