From a61fe39f4e86ce5ab2c0615612deae1c51aff927 Mon Sep 17 00:00:00 2001 From: Juuz Date: Thu, 21 Aug 2025 23:53:50 +0300 Subject: 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--- enigma-swing/build.gradle | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'enigma-swing') 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 @@ plugins { id 'application' - id 'com.github.johnrengelman.shadow' + id 'com.gradleup.shadow' } def flatLafNatives = [ @@ -31,11 +31,3 @@ application { } jar.manifest.attributes 'Main-Class': application.mainClass.get() - -publishing { - publications { - shadow(MavenPublication) { publication -> - publication.from components.java - } - } -} \ No newline at end of file -- cgit v1.2.3