diff options
| author | 2023-11-19 14:43:06 +0000 | |
|---|---|---|
| committer | 2023-11-19 14:43:06 +0000 | |
| commit | c675acfff352e37bf7dec102437b47d3c8c5a52d (patch) | |
| tree | 300a39d8a861f831bde2732161cb5b0b54d5ba0a /enigma-swing | |
| parent | Bump version (diff) | |
| download | enigma-c675acfff352e37bf7dec102437b47d3c8c5a52d.tar.gz enigma-c675acfff352e37bf7dec102437b47d3c8c5a52d.tar.xz enigma-c675acfff352e37bf7dec102437b47d3c8c5a52d.zip | |
Update deps (#535)
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 { |