diff --git a/build.gradle b/build.gradle index c510a3daff..835a992245 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,20 @@ apply plugin: 'java' apply plugin: 'eclipse' +apply plugin: 'application' version = '0.1.0-SNAPSHOT' sourceCompatibility = 1.8 sourceSets.main.resources.srcDirs += 'src/main/java' +mainClassName = "io.bitsquare.BitSquare" + +run { + if ( project.hasProperty('args') ) { + args project.args.split('\\s+') + } +} + repositories { jcenter() maven { url 'http://partnerdemo.artifactoryonline.com/partnerdemo/libs-snapshots-local' }