-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
52 lines (42 loc) · 1.15 KB
/
build.gradle.kts
File metadata and controls
52 lines (42 loc) · 1.15 KB
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
plugins {
id("java")
id("com.gradleup.shadow") version "9.3.1"
}
group = "github.renderbr.hytale"
version = "0.4.0"
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(25))
}
}
repositories {
mavenCentral()
maven {
url = uri("https://maven.hytale.com/release")
}
}
dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
compileOnly("com.hypixel.hytale:Server:2026.02.19-1a311a592")
implementation(files("libs/AverageHytaleCore.jar"))
implementation("net.dv8tion:JDA:6.3.0") {
exclude(module = "opus-java")
exclude(module = "tink")
}
}
configurations.all {
// Prevents conflicts with spark logging
exclude(group = "org.slf4j", module = "slf4j-log4j12")
exclude(group = "org.slf4j", module = "slf4j-jdk14")
}
tasks.test {
useJUnitPlatform()
}
tasks.shadowJar {
mergeServiceFiles()
duplicatesStrategy = DuplicatesStrategy.INCLUDE
isZip64 = true
relocate("org.slf4j", "github.renderbr.hytale.shadow.slf4j")
}