buildscript { repositories { mavenCentral() } dependencies { classpath 'eu.appsatori:gradle-fatjar-plugin:0.2-rc1' } } apply plugin: "java" apply plugin: "eclipse" apply plugin: "maven" apply plugin: "fatjar" sourceCompatibility = 1.7 targetCompatibility = 1.7 group = "com.cuchazinteractive" archivesBaseName = "enigma" version = "0.3b" sourceSets { main { java { srcDir "src" } resources { srcDir "conf" } } test { java { srcDir "test" } resources { srcDir "conf" } } } repositories { mavenCentral() } dependencies { compile fileTree( dir: "libs", include: "*.jar" ) compile "de.sciss:jsyntaxpane:1.0.0" compile "com.google.guava:guava:17.0" compile "org.javassist:javassist:3.18.1-GA" testCompile "junit:junit:4.11" } fatJar { from ".", { include "*.txt" } manifest { attributes( "Title": archivesBaseName, "Manifest-Version": "1.0", "Version": version, "Main-Class" : "cuchaz.enigma.Main" ) } }