diff options
Diffstat (limited to 'enigma-cli')
| -rw-r--r-- | enigma-cli/build.gradle | 9 |
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 @@ | |||
| 1 | plugins { | 1 | plugins { |
| 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 | ||
| 9 | jar.manifest.attributes 'Main-Class': 'cuchaz.enigma.command.Main' | 10 | application { |
| 11 | mainClass = 'cuchaz.enigma.command.Main' | ||
| 12 | } | ||
| 13 | |||
| 14 | jar.manifest.attributes 'Main-Class': application.mainClass | ||
| 10 | 15 | ||
| 11 | publishing { | 16 | publishing { |
| 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 | } |