diff options
Diffstat (limited to 'enigma-cli')
| -rw-r--r-- | enigma-cli/build.gradle | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/enigma-cli/build.gradle b/enigma-cli/build.gradle index 5281e9e6..05e644e1 100644 --- a/enigma-cli/build.gradle +++ b/enigma-cli/build.gradle | |||
| @@ -1,15 +1,17 @@ | |||
| 1 | plugins { | 1 | plugins { |
| 2 | id 'application' | 2 | id 'application' |
| 3 | id 'com.github.johnrengelman.shadow' version '7.0.0' | 3 | id 'com.github.johnrengelman.shadow' |
| 4 | } | 4 | } |
| 5 | 5 | ||
| 6 | dependencies { | 6 | dependencies { |
| 7 | implementation project(':enigma') | 7 | implementation project(':enigma') |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | mainClassName = 'cuchaz.enigma.command.Main' | 10 | application { |
| 11 | mainClass = 'cuchaz.enigma.command.Main' | ||
| 12 | } | ||
| 11 | 13 | ||
| 12 | jar.manifest.attributes 'Main-Class': mainClassName | 14 | jar.manifest.attributes 'Main-Class': application.mainClass.get() |
| 13 | 15 | ||
| 14 | publishing { | 16 | publishing { |
| 15 | publications { | 17 | publications { |