Configure Gradle application plugin

- `./gradlew run` to launch Bitsquare
 - `./gradlew installApp` to create scripts in build/install/bitsquare

See http://www.gradle.org/docs/current/userguide/userguide_single.html#application_plugin
This commit is contained in:
Chris Beams 2014-08-28 13:37:03 +02:00
parent 62cb43dce5
commit 0501965b99
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73

View File

@ -1,7 +1,9 @@
apply plugin: 'java'
apply plugin: 'application'
version = '0.1.0-SNAPSHOT'
sourceCompatibility = 1.8
mainClassName = 'io.bitsquare.BitSquare'
sourceSets.main.resources.srcDirs += 'src/main/java'