import org.apache.tools.ant.filters.ReplaceTokens apply plugin: 'xyz.jpenilla.run-paper' apply from: rootProject.file('buildscript/loader.gradle') dependencies { // API implementation project(':common:common-api') // Platform compileOnly(libs.spigotapi) // DependencyDownload implementation(libs.mcdependencydownload.bukkit.loader) } processResources { filter(ReplaceTokens, tokens: ['VERSION': project.version]) } shadowJar { archiveBaseName = 'DiscordSRV-Bukkit' } tasks { runServer { minecraftVersion("1.21.1") } } // buildscript/loader.gradle includes the jarinjar in the jar