diff --git a/README.md b/README.md index feb74b0..bb67a00 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,15 @@ The easiest way to set up the environment is to: 1. `Run -> Run... -> com.incquerylabs.vhci.modelaccess.twc.rest.Crawler.kt` (set arguments in Configuration) +### Gradle` + +1. `./gradlew run --args=''` with arguments (see below) + ### Application -1. `gradle shadowJar` or download from GitHub releases +1. `./gradlew shadowJar` or download from GitHub releases 1. `java -jar build/libs/vhci.modelaccess.twc.rest-1.0-SNAPSHOT-all.jar ` with arguments (see below) - ## Example arguments ### OpenSE Cookbook model on twc.openmbee.org diff --git a/com.incquerylabs.vhci.modelaccess.twc.rest/build.gradle b/com.incquerylabs.vhci.modelaccess.twc.rest/build.gradle index 9f0abe3..ac16cfb 100644 --- a/com.incquerylabs.vhci.modelaccess.twc.rest/build.gradle +++ b/com.incquerylabs.vhci.modelaccess.twc.rest/build.gradle @@ -23,6 +23,10 @@ compileTestKotlin { kotlinOptions.jvmTarget = '1.8' } +application { + mainClassName = 'com.incquerylabs.vhci.modelaccess.twc.rest.CrawlerKt' +} + vertx { launcher = 'com.incquerylabs.vhci.modelaccess.twc.rest.CrawlerKt' }