apply plugin: "maven-publish" apply plugin: "java" repositories { mavenCentral() jcenter() } dependencies { compile "org.processing:core:3.3.7" compile project(":TerraForgedCore") } jar { manifest { attributes "Main-Class": "com.terraforged.app.Main" } from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } } publish { dependsOn(jar) }