summaryrefslogtreecommitdiff
path: root/enigma-cli
diff options
context:
space:
mode:
Diffstat (limited to 'enigma-cli')
-rw-r--r--enigma-cli/build.gradle9
1 files changed, 7 insertions, 2 deletions
diff --git a/enigma-cli/build.gradle b/enigma-cli/build.gradle
index 8de307e..3490613 100644
--- a/enigma-cli/build.gradle
+++ b/enigma-cli/build.gradle
@@ -1,4 +1,5 @@
1plugins { 1plugins {
2 id 'application'
2 id 'com.github.johnrengelman.shadow' version '5.2.0' 3 id 'com.github.johnrengelman.shadow' version '5.2.0'
3} 4}
4 5
@@ -6,7 +7,11 @@ dependencies {
6 implementation project(':enigma') 7 implementation project(':enigma')
7} 8}
8 9
9jar.manifest.attributes 'Main-Class': 'cuchaz.enigma.command.Main' 10application {
11 mainClass = 'cuchaz.enigma.command.Main'
12}
13
14jar.manifest.attributes 'Main-Class': application.mainClass
10 15
11publishing { 16publishing {
12 publications { 17 publications {
@@ -15,4 +20,4 @@ publishing {
15 publication.artifact shadowJar 20 publication.artifact shadowJar
16 } 21 }
17 } 22 }
18} \ No newline at end of file 23}