34 lines
637 B
Kotlin
34 lines
637 B
Kotlin
|
|
plugins {
|
|
java
|
|
id("com.gradleup.shadow") version "9.2.2"
|
|
}
|
|
|
|
group = "eu.mhsl.minenet"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(25))
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("net.minestom:minestom:2026.10.07-26.2")
|
|
implementation("org.slf4j:slf4j-simple:2.0.17")
|
|
implementation("org.yaml:snakeyaml:2.4")
|
|
implementation("org.spongepowered:configurate-yaml:4.2.0")
|
|
}
|
|
|
|
tasks.shadowJar {
|
|
archiveClassifier.set("")
|
|
manifest {
|
|
attributes["Main-Class"] =
|
|
"eu.mhsl.minenet.loginServer.Main"
|
|
}
|
|
}
|