diff options
| author | 2020-08-22 19:56:52 +0200 | |
|---|---|---|
| committer | 2020-08-22 19:56:52 +0200 | |
| commit | dcfead3beaca261e6530476ec51964f3c969235b (patch) | |
| tree | 75635f4b6fac9e17e213281f3e9e4b16b94ed2fa /enigma-cli/build.gradle | |
| parent | Fix #303 (#308) (diff) | |
| parent | Revert "Bump gradle and use the `mainClass` property" (diff) | |
| download | enigma-dcfead3beaca261e6530476ec51964f3c969235b.tar.gz enigma-dcfead3beaca261e6530476ec51964f3c969235b.tar.xz enigma-dcfead3beaca261e6530476ec51964f3c969235b.zip | |
Merge pull request #310 from idwtd/patch-3
Revert "Bump gradle and use the `mainClass` property"
Diffstat (limited to 'enigma-cli/build.gradle')
| -rw-r--r-- | enigma-cli/build.gradle | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/enigma-cli/build.gradle b/enigma-cli/build.gradle index 34906131..fcd3f0d4 100644 --- a/enigma-cli/build.gradle +++ b/enigma-cli/build.gradle | |||
| @@ -7,11 +7,9 @@ dependencies { | |||
| 7 | implementation project(':enigma') | 7 | implementation project(':enigma') |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | application { | 10 | mainClassName = 'cuchaz.enigma.command.Main' |
| 11 | mainClass = 'cuchaz.enigma.command.Main' | ||
| 12 | } | ||
| 13 | 11 | ||
| 14 | jar.manifest.attributes 'Main-Class': application.mainClass | 12 | jar.manifest.attributes 'Main-Class': mainClassName |
| 15 | 13 | ||
| 16 | publishing { | 14 | publishing { |
| 17 | publications { | 15 | publications { |