plugins { id("java") id("application") id("com.github.johnrengelman.shadow") version "8.1.1" } group = "net.jstom" version = "1.0-SNAPSHOT" repositories { mavenCentral() maven("https://jitpack.io") // For Minestom } dependencies { // Minestom - using master-SNAPSHOT implementation("com.github.Minestom:Minestom:master-SNAPSHOT") // GraalJS for JavaScript engine implementation("org.graalvm.polyglot:polyglot:24.1.2") implementation("org.graalvm.polyglot:js:24.1.2") // Logging implementation("org.slf4j:slf4j-simple:2.0.9") // Config implementation("org.yaml:snakeyaml:2.2") } application { mainClass.set("net.jstom.Main") } tasks { shadowJar { mergeServiceFiles() archiveClassifier.set("") // Remove '-all' suffix so it replaces the default jar or just sits nicely } } java { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } } tasks.withType { options.encoding = "UTF-8" }