-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
54 lines (46 loc) · 1.13 KB
/
build.gradle.kts
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
plugins {
alias(libs.plugins.kotlin)
jacoco
}
group = "net.theevilreaper.stelaris.cli"
version = "0.0.3-SNAPSHOT"
kotlin {
jvmToolchain(21)
}
repositories {
mavenCentral()
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
dependencies {
implementation(platform(libs.microtus.bom))
implementation(libs.dartpoet)
implementation(libs.snakeyaml)
implementation(libs.jetbrains.annotation)
implementation(libs.microtus)
implementation(libs.guava)
implementation(libs.jgit)
testImplementation(libs.junit.jupiter)
testImplementation(libs.junit.jupiter.params)
testRuntimeOnly(libs.junit.jupiter.engine)
testRuntimeOnly(libs.junit.platform.launcher)
}
tasks {
compileJava {
options.encoding = "UTF-8"
options.release.set(21)
}
jacocoTestReport {
dependsOn(test)
reports {
xml.required.set(true)
csv.required.set(true)
}
}
test {
useJUnitPlatform()
finalizedBy(jacocoTestReport)
testLogging {
events("passed", "skipped", "failed")
}
}
}