-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
67 lines (57 loc) · 1.38 KB
/
build.gradle.kts
File metadata and controls
67 lines (57 loc) · 1.38 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
plugins {
jacoco
application
alias(libs.plugins.kotlin)
alias(libs.plugins.shadow)
}
group = "net.theevilreaper"
version = "0.0.3-SNAPSHOT"
kotlin {
jvmToolchain(25)
}
dependencies {
implementation(platform(libs.mycelium.bom))
implementation(libs.dartpoet)
implementation(libs.minestom)
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)
}
application {
mainClass.set("net.theevilreaper.stelaris.cli.StelarisCLIKt")
}
tasks {
compileJava {
options.encoding = "UTF-8"
options.release.set(25)
}
jacocoTestReport {
dependsOn(test)
reports {
xml.required.set(true)
html.required.set(true)
csv.required.set(false)
}
}
shadowJar {
archiveBaseName.set("stelaris-cli")
archiveClassifier.set("")
archiveVersion.set("")
manifest {
attributes["Main-Class"] = "net.theevilreaper.stelaris.cli.StelarisCLIKt"
}
}
build {
dependsOn(shadowJar)
}
test {
useJUnitPlatform()
finalizedBy(jacocoTestReport)
testLogging {
events("passed", "skipped", "failed")
}
}
}