From e0985d832aa579f38e10d6ef8337c4514e35e249 Mon Sep 17 00:00:00 2001 From: Abel Hegedus Date: Fri, 8 Nov 2019 16:48:36 +0100 Subject: [PATCH] add further execution examples --- README.md | 7 +++++-- com.incquerylabs.vhci.modelaccess.twc.rest/build.gradle | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) 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' }