buildscript { repositories { jcenter() } dependencies { classpath 'com.github.rholder:gradle-one-jar:1.0.4' } } apply plugin: 'java' apply plugin: 'application' apply plugin: 'gradle-one-jar' version = '0.1.0-SNAPSHOT' sourceCompatibility = 1.8 mainClassName = 'io.bitsquare.BitSquare' sourceSets.main.resources.srcDirs += 'src/main/java' task executableJar(type: OneJar) { mainClass = project.mainClassName archiveName = 'bitsquare.jar' } repositories { jcenter() mavenLocal() } dependencies { compile 'com.google:bitcoinj:0.12-SNAPSHOT' compile 'net.tomp2p:tomp2p-all:5.0-Alpha24-SNAPSHOT' compile 'org.slf4j:slf4j-api:1.7.7' compile 'ch.qos.logback:logback-core:1.1.2' compile 'ch.qos.logback:logback-classic:1.1.2' compile 'com.google.inject:guice:3.0' compile 'com.google.guava:guava:16.0.1' compile 'com.google.code.gson:gson:2.2.4' compile 'org.controlsfx:controlsfx:8.0.5' compile 'de.jensd:fontawesomefx:8.0.0' compile 'net.glxn:qrgen:1.3' compile 'com.google.code.findbugs:jsr305:2.0.3' compile 'net.jcip:jcip-annotations:1.0' compile 'org.jetbrains:annotations:13.0' testCompile 'junit:junit:4.11' testCompile 'org.mockito:mockito-all:1.9.5' } wrapper.gradleVersion = '2.0'