-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
40 lines (31 loc) · 960 Bytes
/
build.gradle.kts
File metadata and controls
40 lines (31 loc) · 960 Bytes
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
plugins {
id("java")
id("com.gradleup.shadow") version("8.3.3")
id("maven-publish")
}
group = "de.johannes"
version = "1.0.5"
repositories {
mavenCentral()
}
dependencies {
//Testing
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
implementation("net.sf.jopt-simple:jopt-simple:4.7")
implementation("com.google.code.gson:gson:2.11.0")
implementation("commons-io:commons-io:2.18.0")
compileOnly("org.projectlombok:lombok:1.18.36")
annotationProcessor("org.projectlombok:lombok:1.18.36")
implementation(fileTree(mapOf("dir" to "src/native", "include" to listOf("*.so"))))
implementation(fileTree(mapOf("dir" to "src/native", "include" to listOf("*.dll"))))
}
tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "de.johannes.Main"
}
archiveFileName = "Tuirmite.jar"
}
tasks.test {
useJUnitPlatform()
}