diff --git a/build.gradle b/build.gradle index 01afb7b..0b90422 100644 --- a/build.gradle +++ b/build.gradle @@ -48,3 +48,9 @@ compileTestKotlin { jvmTarget = "1.8" } } + +task execute(type:JavaExec) { + main = project.hasProperty("mainClass") ? getProperty("mainClass") : "app.Main" + + classpath = sourceSets.main.runtimeClasspath +} diff --git a/gradlew b/gradlew old mode 100644 new mode 100755