diff options
| author | 2020-08-22 19:56:52 +0200 | |
|---|---|---|
| committer | 2020-08-22 19:56:52 +0200 | |
| commit | dcfead3beaca261e6530476ec51964f3c969235b (patch) | |
| tree | 75635f4b6fac9e17e213281f3e9e4b16b94ed2fa /enigma-server | |
| 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-server')
| -rw-r--r-- | enigma-server/build.gradle | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/enigma-server/build.gradle b/enigma-server/build.gradle index c447138d..27645589 100644 --- a/enigma-server/build.gradle +++ b/enigma-server/build.gradle | |||
| @@ -7,8 +7,6 @@ dependencies { | |||
| 7 | implementation 'net.sf.jopt-simple:jopt-simple:6.0-alpha-3' | 7 | implementation 'net.sf.jopt-simple:jopt-simple:6.0-alpha-3' |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | application { | 10 | mainClassName = 'cuchaz.enigma.network.DedicatedEnigmaServer' |
| 11 | mainClass = 'cuchaz.enigma.network.DedicatedEnigmaServer' | ||
| 12 | } | ||
| 13 | 11 | ||
| 14 | jar.manifest.attributes 'Main-Class': application.mainClass | 12 | jar.manifest.attributes 'Main-Class': mainClassName |