apply plugin: 'eclipse' eclipse { project { name = "Dynmap(dynmap-api)" } } description = "dynmap-api" sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. dependencies { compileOnly group: 'org.bukkit', name: 'bukkit', version:'1.7.10-R0.1-SNAPSHOT' compileOnly project(":DynmapCoreAPI") } jar { classifier = 'unshaded' } shadowJar { dependencies { include(dependency(":DynmapCoreAPI")) } destinationDir = file '../target' classifier = '' } artifacts { archives shadowJar } publishing { publications { mavenJava(MavenPublication) { from components.java } } }