-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
55 lines (45 loc) · 1.21 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
55
plugins {
id("java")
id("com.github.johnrengelman.shadow") version "8.1.1" apply true
}
group = "dev.warriorrr"
version = "1.0-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
maven {
url = uri("https://jitpack.io")
}
}
dependencies {
implementation("net.sf.jopt-simple:jopt-simple:6.0-alpha-3")
implementation("org.jetbrains:annotations:23.0.0")
implementation("org.jline:jline:3.21.0")
implementation("org.jline:jline-terminal-jansi:3.21.0")
implementation("com.github.Querz:NBT:6.1")
}
tasks {
assemble {
dependsOn(shadowJar)
}
shadowJar {
minimize()
archiveClassifier.set("")
archiveVersion.set("")
dependencies {
include(dependency("net.sf.jopt-simple:jopt-simple"))
include(dependency("org.jetbrains:annotations"))
include(dependency("org.jline:jline"))
include(dependency("org.jline:jline-terminal-jansi"))
include(dependency("com.github.Querz:NBT"))
}
}
jar {
archiveVersion.set("")
}
}
tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "dev.warriorrr.maptool.Main"
}
}