apply plugin: 'com.github.johnrengelman.shadow' version = "2.0" sourceCompatibility = 1.8 targetCompatibility = 1.8 dependencies { compile project(':launcher-builder') compile 'org.eclipse.jetty:jetty-server:9.3.1.v20150714' } processResources { filesMatching('**/*.properties') { filter { it.replace('${project.version}', project.version) } } } jar { manifest { attributes("Main-Class": "com.skcraft.launcher.creator.Creator") } } shadowJar { dependencies { exclude(dependency('org.projectlombok:lombok')) } } build.dependsOn(shadowJar)