plugins { java } group = "com.prometheus" version = "0.1.0" repositories { mavenCentral() maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") } dependencies { compileOnly("org.spigotmc:spigot-api:1.21.1-R0.1-SNAPSHOT") } java { toolchain { languageVersion.set(JavaLanguageVersion.of(21)) } } tasks.withType().configureEach { options.encoding = "UTF-8" } tasks.processResources { filteringCharset = "UTF-8" filesMatching("plugin.yml") { expand("version" to version) } }