-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
50 lines (40 loc) · 939 Bytes
/
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
plugins {
java
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "dev.emortal"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
mavenLocal()
maven("https://repo.emortal.dev/snapshots")
maven("https://repo.emortal.dev/releases")
maven("https://jitpack.io")
maven("https://packages.confluent.io/maven/")
}
dependencies {
implementation("dev.emortal.minestom:game-sdk:07ece8d")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks {
shadowJar {
mergeServiceFiles()
manifest {
attributes(
"Main-Class" to "dev.emortal.minestom.minesweeper.Main",
"Multi-Release" to true
)
}
}
withType<AbstractArchiveTask> {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}
build {
dependsOn(shadowJar)
}
}