plugins { id 'java' } group = 'com.majinnaibu.minecraft.plugins.' version = '0.2.0-SNAPSHOT' description = "ScoreKeeper" java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } repositories { mavenCentral() maven { url = 'https://repo.papermc.io/repository/maven-public/' } } dependencies { compileOnly 'io.papermc.paper:paper-api:1.21.7-R0.1-SNAPSHOT' } tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' // options.compilerArgs << "-Xlint:deprecation" } processResources { filesMatching('plugin.yml') { expand(project.properties) } }