plugins { id 'java' id 'com.gradleup.shadow' version "8.3.0" } group = 'dev.ninjdai' version = '0.1.0' repositories { mavenCentral() maven { url 'https://jitpack.io' } maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" } } dependencies { implementation "net.minestom:minestom-snapshots:${minestom_version}" implementation "com.github.TogAr2:MinestomPvP:${minestompvp_version}" implementation "com.github.Minestom:VanillaReimplementation:${vri_version}" implementation("de.articdive:jnoise-pipeline:${jnoise_version}") compileOnly 'org.projectlombok:lombok:1.18.34' annotationProcessor 'org.projectlombok:lombok:1.18.34' implementation "org.slf4j:slf4j-simple:2.0.16" } java { toolchain { languageVersion.set(JavaLanguageVersion.of(21)) // Minestom has a minimum Java version of 21 } } tasks { jar { manifest { attributes["Main-Class"] = "dev.ninjdai.werewolf.Main" // Change this to your main class } } build { dependsOn(shadowJar) } shadowJar { mergeServiceFiles() archiveClassifier.set("") // Prevent the -all suffix on the shadowjar file. } }