mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-09 07:33:12 -04:00
added application plugin and ability to pass gradle run command line args
This commit is contained in:
parent
e42bae9148
commit
3d77cc7296
1 changed files with 9 additions and 0 deletions
|
@ -1,11 +1,20 @@
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
|
apply plugin: 'application'
|
||||||
|
|
||||||
version = '0.1.0-SNAPSHOT'
|
version = '0.1.0-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
sourceSets.main.resources.srcDirs += 'src/main/java'
|
sourceSets.main.resources.srcDirs += 'src/main/java'
|
||||||
|
|
||||||
|
mainClassName = "io.bitsquare.BitSquare"
|
||||||
|
|
||||||
|
run {
|
||||||
|
if ( project.hasProperty('args') ) {
|
||||||
|
args project.args.split('\\s+')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
maven { url 'http://partnerdemo.artifactoryonline.com/partnerdemo/libs-snapshots-local' }
|
maven { url 'http://partnerdemo.artifactoryonline.com/partnerdemo/libs-snapshots-local' }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue