plugins { id 'java-library' id 'com.github.yannicklamprecht.spigot.tools' version '1.0.1' } java { sourceCompatibility = JavaVersion.VERSION_16 targetCompatibility = JavaVersion.VERSION_16 } repositories { mavenCentral() maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' } maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' } mavenLocal() // This is needed for CraftBukkit and Spigot. // libs folder (TODO: transfer away from this!) flatDir { dirs 'libs' } } dependencies { compileOnly 'org.spigotmc:spigot:1.17-R0.1-SNAPSHOT:remapped-mojang' implementation name: 'Factions' implementation name: 'GriefPrevention' implementation name: 'MassiveCore' implementation name: 'PreciousStones' implementation name: 'RedProtect' implementation name: 'Residence' implementation name: 'Towny' implementation name: 'WorldEdit' implementation name: 'WorldGuard' } tasks { spigotTools { mojangMapped.set(true) version.set("1.17") outputClassifier.set("spigot-mapped") } }