summaryrefslogtreecommitdiff
path: root/enigma-swing
diff options
context:
space:
mode:
authorGravatar idwtd2020-08-19 01:02:17 -0700
committerGravatar GitHub2020-08-19 04:02:17 -0400
commit707a24a8c786bf36ff9505468e676f285ab813d1 (patch)
treee177ee51314e7c021cba217b6fec88459a78fe63 /enigma-swing
parentMerge pull request #305 from idwtd/patch-1 (diff)
downloadenigma-707a24a8c786bf36ff9505468e676f285ab813d1.tar.gz
enigma-707a24a8c786bf36ff9505468e676f285ab813d1.tar.xz
enigma-707a24a8c786bf36ff9505468e676f285ab813d1.zip
Add gradle run tasks (#306)
* Add gradle run tasks * Bump gradle and use the `mainClass` property
Diffstat (limited to 'enigma-swing')
-rw-r--r--enigma-swing/build.gradle9
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 @@
1plugins { 1plugins {
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
16jar.manifest.attributes 'Main-Class': 'cuchaz.enigma.gui.Main' 17application {
18 mainClass = 'cuchaz.enigma.gui.Main'
19}
20
21jar.manifest.attributes 'Main-Class': application.mainClass
17 22
18publishing { 23publishing {
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}