diff options
| author | 2023-11-28 09:38:33 +0100 | |
|---|---|---|
| committer | 2023-11-28 09:38:33 +0100 | |
| commit | 5df82c380955b452e5096ab9a4f1e66afc9bd18a (patch) | |
| tree | e3a5a6d2006787f2668e47bca34fb46beb40250c /enigma-swing | |
| parent | Fix checkstyle (diff) | |
| parent | Update deps (#535) (diff) | |
| download | enigma-5df82c380955b452e5096ab9a4f1e66afc9bd18a.tar.gz enigma-5df82c380955b452e5096ab9a4f1e66afc9bd18a.tar.xz enigma-5df82c380955b452e5096ab9a4f1e66afc9bd18a.zip | |
Merge branch 'upstream' into mapping-io
Diffstat (limited to 'enigma-swing')
| -rw-r--r-- | enigma-swing/build.gradle | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/enigma-swing/build.gradle b/enigma-swing/build.gradle index fff4dafe..452df5e7 100644 --- a/enigma-swing/build.gradle +++ b/enigma-swing/build.gradle | |||
| @@ -1,23 +1,36 @@ | |||
| 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 | def flatLafNatives = [ | ||
| 7 | "windows-arm64@dll", | ||
| 8 | "windows-x86@dll", | ||
| 9 | "windows-x86_64@dll", | ||
| 10 | "linux-x86_64@so", | ||
| 11 | ] | ||
| 12 | |||
| 6 | dependencies { | 13 | dependencies { |
| 7 | implementation project(':enigma') | 14 | implementation project(':enigma') |
| 8 | implementation project(':enigma-server') | 15 | implementation project(':enigma-server') |
| 9 | 16 | ||
| 10 | implementation 'net.sf.jopt-simple:jopt-simple:6.0-alpha-3' | 17 | implementation 'net.sf.jopt-simple:jopt-simple:6.0-alpha-3' |
| 11 | implementation 'com.formdev:flatlaf:2.6' | 18 | implementation 'com.formdev:flatlaf:3.2.5' |
| 12 | implementation 'com.formdev:flatlaf-extras:2.6' // for SVG icons | 19 | implementation 'com.formdev:flatlaf-extras:3.2.5' // for SVG icons |
| 13 | implementation 'de.sciss:syntaxpane:1.2.1' | 20 | implementation 'de.sciss:syntaxpane:1.2.1' |
| 14 | implementation 'com.github.lukeu:swing-dpi:0.10' | 21 | implementation 'com.github.lukeu:swing-dpi:0.10' |
| 15 | implementation 'org.drjekyll:fontchooser:2.5.2' | 22 | implementation 'org.drjekyll:fontchooser:2.5.2' |
| 23 | |||
| 24 | flatLafNatives.forEach { | ||
| 25 | implementation 'com.formdev:flatlaf:3.2.5:' + it | ||
| 26 | } | ||
| 16 | } | 27 | } |
| 17 | 28 | ||
| 18 | mainClassName = 'cuchaz.enigma.gui.Main' | 29 | application { |
| 30 | mainClass = 'cuchaz.enigma.gui.Main' | ||
| 31 | } | ||
| 19 | 32 | ||
| 20 | jar.manifest.attributes 'Main-Class': mainClassName | 33 | jar.manifest.attributes 'Main-Class': application.mainClass.get() |
| 21 | 34 | ||
| 22 | publishing { | 35 | publishing { |
| 23 | publications { | 36 | publications { |