Skip to content

Instantly share code, notes, and snippets.

@solidsnack
Created September 3, 2019 00:56
Show Gist options
  • Save solidsnack/3bcf5661032c4a9f29de4b27b3266a14 to your computer and use it in GitHub Desktop.
Save solidsnack/3bcf5661032c4a9f29de4b27b3266a14 to your computer and use it in GitHub Desktop.
diff --git a/build.gradle.kts b/build.gradle.kts
index f8a65c9..9bd44d6 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -6,6 +6,8 @@ dependencies {
}
plugins {
+ application
+ id("com.github.johnrengelman.shadow") version "5.1.0"
kotlin("jvm") version "1.3.50"
}
@@ -13,3 +15,6 @@ repositories {
mavenCentral()
}
+application {
+ mainClassName = "${group}.${name}.MainKt"
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment