-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
46 lines (39 loc) · 1.17 KB
/
build.gradle.kts
File metadata and controls
46 lines (39 loc) · 1.17 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
import com.github.jengelman.gradle.plugins.shadow.transformers.AppendingTransformer
plugins {
id("java")
id("com.gradleup.shadow") version "9.3.1"
}
group = "github.renderbr.hytale"
version = "0.2.10"
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")
testImplementation("org.mockito:mockito-core:5.11.0")
testImplementation("org.mockito:mockito-junit-jupiter:5.11.0")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
val hytaleServer = "com.hypixel.hytale:Server:2026.02.17-255364b8e"
compileOnly(hytaleServer)
testImplementation(hytaleServer)
implementation(files("libs/AverageHytaleCore.jar"))
implementation("org.slf4j:slf4j-simple:2.0.12")
}
tasks.test {
useJUnitPlatform()
systemProperty("net.bytebuddy.experimental", "true")
}
tasks.shadowJar {
mergeServiceFiles()
duplicatesStrategy = DuplicatesStrategy.INCLUDE
isZip64 = true
}