initial commit
This commit is contained in:
34
build.gradle.kts
Normal file
34
build.gradle.kts
Normal file
@@ -0,0 +1,34 @@
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
group = "de.slpnetwork"
|
||||
version = "1.0.0"
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(25))
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Add Hytale Server as compileOnly dependency (not bundled in final JAR)
|
||||
compileOnly(files("Hytaleserver.jar"))
|
||||
}
|
||||
|
||||
tasks.jar {
|
||||
// Set the archive name
|
||||
archiveBaseName.set("ManyWaypoints")
|
||||
archiveVersion.set("1.0.0")
|
||||
|
||||
// Handle duplicates (resources are already included by default)
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
Reference in New Issue
Block a user