repositories { flatDir {dirs 'lib'} } dependencies { compile project(':core') compile 'com.sk89q:worldguard:6.0.0-SNAPSHOT' compile('com.destroystokyo.paper:paper-api:1.12-R0.1-SNAPSHOT') { exclude group: 'net.md-5' } compile 'org.bukkit.craftbukkitv1_10:craftbukkitv1_10:1.10' compile 'org.bukkit.craftbukkitv1_11:Craftbukkit:1.11' // compile 'org.bukkit.craftbukkitv1_12:Craftbukkit:1.12' compile 'org.bukkit.craftbukkitv1_12_R1:Craftbukkit:1.12.1' compile 'net.milkbowl.vault:VaultAPI:1.5.6' compile 'com.massivecraft:factions:2.8.0' compile 'com.drtshock:factions:1.6.9.5' compile 'com.factionsone:FactionsOne:1.2.2' compile 'me.ryanhamshire:GriefPrevention:11.5.2' compile 'com.massivecraft:mcore:7.0.1' compile 'net.sacredlabyrinth.Phaed:PreciousStones:10.0.4-SNAPSHOT' compile 'net.jzx7:regios:5.9.9' compile 'com.bekvon.bukkit.residence:Residence:4.5._13.1' compile 'com.palmergames.bukkit:towny:0.84.0.9' compile 'com.worldcretornica:plotme_core:0.16.3' compile 'junit:junit:4.11' compile 'com.sk89q.worldedit:worldedit-bukkit:6.1.4-SNAPSHOT' compile 'com.sk89q.worldedit:worldedit-core:6.1.4-SNAPSHOT' compile 'com.thevoxelbox.voxelsniper:voxelsniper:5.171.0' compile 'org.bukkit.craftbukkit.v1_9R2:craftbukkitv1_9R2:1.9.4' compile 'org.bukkit.craftbukkit:Craftbukkit:1.7.10' compile 'org.bukkit.craftbukkit:CraftBukkit:1.8.8' compile 'com.comphenix.protocol:ProtocolLib-API:4.4.0-SNAPSHOT' compile 'com.wasteofplastic:askyblock:3.0.8.2' compile('org.inventivetalent:mapmanager:1.4.0-SNAPSHOT') { transitive = false } } clean { delete "../target" } processResources { from('src/main/resources') { include 'plugin.yml' expand( name: project.parent.name, version: project.parent.version ) } } apply plugin: 'com.github.johnrengelman.shadow' // We only want the shadow jar produced shadowJar { dependencies { include(dependency('com.github.luben:zstd-jni:1.1.1')) include(dependency('co.aikar:fastutil-lite:1.0')) include(dependency(':core')) } archiveName = "${parent.name}-${project.name}-${parent.version}.jar" destinationDir = file '../target' relocate('com.google.gson', 'com.sk89q.worldedit.internal.gson') } shadowJar.doLast { task -> ant.checksum file: task.archivePath } build.dependsOn(shadowJar);