-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
46 lines (39 loc) · 1.07 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
plugins {
id("java")
application
// Shadow jar plugin
id("com.github.johnrengelman.shadow") version "8.1.1"
id("org.graalvm.buildtools.native") version "0.10.0"
}
group = "org.allaymc"
version = "1.0.0"
application {
mainClass.set("org.allaymc.encryptmypack.EncryptMyPack")
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.apache.commons:commons-lang3:3.14.0")
implementation("commons-io:commons-io:2.15.1")
implementation("com.google.code.gson:gson:2.10.1")
compileOnly("org.projectlombok:lombok:1.18.30")
annotationProcessor("org.projectlombok:lombok:1.18.30")
testCompileOnly("org.projectlombok:lombok:1.18.30")
testAnnotationProcessor("org.projectlombok:lombok:1.18.30")
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
tasks.test {
useJUnitPlatform()
}
graalvmNative {
binaries.all {
resources.autodetect()
}
}
tasks.runShadow {
val runningDir = File("run")
runningDir.mkdirs()
workingDir = runningDir
}