-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
61 lines (47 loc) · 1.22 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
56
57
58
59
60
61
plugins {
java
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "dev.emortal.minestom.blocksumo"
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:1c553cc")
implementation("dev.emortal:rayfast:9ce231a")
// implementation("com.github.emortaldev:Particable:f7212f39fb")
compileOnly("org.jetbrains:annotations:24.0.1")
implementation("dev.hollowcube:polar:1.11.1")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks {
shadowJar {
mergeServiceFiles()
manifest {
attributes (
"Main-Class" to "dev.emortal.minestom.blocksumo.Main",
"Multi-Release" to true
)
}
}
withType<AbstractArchiveTask> {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}
build {
dependsOn(shadowJar)
}
withType<JavaCompile> {
options.encoding = "UTF-8"
}
}