group = 'asys' version = '0.6-SNAPSHOT' repositories { maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' } maven { url 'http://repo.spongepowered.org/Sponge/maven/' } } processResources { filesMatching('**/plugin.yml') { filter { it.replace('${version}', project.version) } } } configurations { include compile.extendsFrom include } compileJava { dependsOn ':bridge-protocol:compileJava' } jar { dependsOn ':bridge-protocol:jar' dependsOn configurations.include from { configurations.include.collect { it.isDirectory() ? it : zipTree(it) } } } ext { nettyVersion = '4.0.23.Final' } dependencies { include files(project(':bridge-protocol').sourceSets.main.output.classesDir) compile (group: 'org.bukkit', name: 'bukkit', version: '1.8.8-R0.1-SNAPSHOT') { exclude group: 'junit' exclude group: 'commons-lang' exclude group: 'com.googlecode.json-simple' exclude group: 'com.google.code.gson' exclude group: 'org.avaje' } compile (group: 'org.spongepowered', name: 'spongeapi', version: '6.0.0') { exclude group: 'com.google.guava' exclude group: 'com.google.code' exclude group: 'com.google.code.findbugs' exclude group: 'com.google.code.gson' exclude group: 'com.google.inject' exclude group: 'com.github.ben-manes.caffeine' exclude group: 'com.flowpowered' exclude group: 'org.slf4j' exclude group: 'org.apache.commons' exclude group: 'org.ow2.asm' exclude group: 'ninja.leaping.configurate' } compile group: 'io.netty', name: 'netty-codec', version: nettyVersion }