-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
44 lines (34 loc) · 1.01 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
plugins {
id 'java'
id 'jacoco'
}
group = 'com.ishland'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
dependencies {
// https://mvnrepository.com/artifact/it.unimi.dsi/fastutil
implementation 'it.unimi.dsi:fastutil:8.5.12'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
implementation 'org.slf4j:slf4j-api:2.0.9'
// https://mvnrepository.com/artifact/ch.qos.logback/logback-core
testRuntimeOnly runtimeOnly('ch.qos.logback:logback-classic:1.4.11')
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.mockito:mockito-core:5.6.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.6.0'
}
test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}
jacocoTestReport {
reports {
xml.required = true
html.required = true
}
dependsOn test
}