summaryrefslogtreecommitdiff
path: root/enigma-swing
diff options
context:
space:
mode:
authorGravatar Juuz2025-08-21 23:53:50 +0300
committerGravatar GitHub2025-08-21 21:53:50 +0100
commita61fe39f4e86ce5ab2c0615612deae1c51aff927 (patch)
tree8035d1659782571fd24980d89779d8287413e29e /enigma-swing
parentGet rid of Guava (#555) (diff)
downloadenigma-a61fe39f4e86ce5ab2c0615612deae1c51aff927.tar.gz
enigma-a61fe39f4e86ce5ab2c0615612deae1c51aff927.tar.xz
enigma-a61fe39f4e86ce5ab2c0615612deae1c51aff927.zip
Update Gradle and fix buildscripts (#557)
* Fix Gradle configuration cache compat with generateResources task The task now also declares its inputs properly, making it support up-to-date checks. * Update Gradle and Shadow Shadow 9 is incompatible with including the flatlaf natives, so I updated to the last 8.x version which also works with Gradle 9. The Shadow plugin automatically publishes the shadow jar, so I removed the overlapping publications which overrode each other. * Fix more Gradle 10 deprecations * Enable configuration cache by default * Fix missing task dependency of :enigma-cli:test
Diffstat (limited to 'enigma-swing')
-rw-r--r--enigma-swing/build.gradle10
1 files changed, 1 insertions, 9 deletions
diff --git a/enigma-swing/build.gradle b/enigma-swing/build.gradle
index 452df5e7..8a8d6793 100644
--- a/enigma-swing/build.gradle
+++ b/enigma-swing/build.gradle
@@ -1,6 +1,6 @@
1plugins { 1plugins {
2 id 'application' 2 id 'application'
3 id 'com.github.johnrengelman.shadow' 3 id 'com.gradleup.shadow'
4} 4}
5 5
6def flatLafNatives = [ 6def flatLafNatives = [
@@ -31,11 +31,3 @@ application {
31} 31}
32 32
33jar.manifest.attributes 'Main-Class': application.mainClass.get() 33jar.manifest.attributes 'Main-Class': application.mainClass.get()
34
35publishing {
36 publications {
37 shadow(MavenPublication) { publication ->
38 publication.from components.java
39 }
40 }
41} \ No newline at end of file