diff options
Diffstat (limited to 'enigma-swing')
| -rw-r--r-- | enigma-swing/build.gradle | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/enigma-swing/build.gradle b/enigma-swing/build.gradle index 6d2cd5f2..f7769037 100644 --- a/enigma-swing/build.gradle +++ b/enigma-swing/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 | ||
| @@ -13,7 +14,11 @@ dependencies { | |||
| 13 | implementation 'org.drjekyll:fontchooser:2.4' | 14 | implementation 'org.drjekyll:fontchooser:2.4' |
| 14 | } | 15 | } |
| 15 | 16 | ||
| 16 | jar.manifest.attributes 'Main-Class': 'cuchaz.enigma.gui.Main' | 17 | application { |
| 18 | mainClass = 'cuchaz.enigma.gui.Main' | ||
| 19 | } | ||
| 20 | |||
| 21 | jar.manifest.attributes 'Main-Class': application.mainClass | ||
| 17 | 22 | ||
| 18 | publishing { | 23 | publishing { |
| 19 | publications { | 24 | publications { |
| @@ -22,4 +27,4 @@ publishing { | |||
| 22 | publication.artifact shadowJar | 27 | publication.artifact shadowJar |
| 23 | } | 28 | } |
| 24 | } | 29 | } |
| 25 | } \ No newline at end of file | 30 | } |