summaryrefslogtreecommitdiff
path: root/enigma-cli
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-cli
parentGet rid of Guava (#555) (diff)
downloadenigma-fork-a61fe39f4e86ce5ab2c0615612deae1c51aff927.tar.gz
enigma-fork-a61fe39f4e86ce5ab2c0615612deae1c51aff927.tar.xz
enigma-fork-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-cli')
-rw-r--r--enigma-cli/build.gradle10
1 files changed, 2 insertions, 8 deletions
diff --git a/enigma-cli/build.gradle b/enigma-cli/build.gradle
index 05e644e..7bffb21 100644
--- a/enigma-cli/build.gradle
+++ b/enigma-cli/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
6dependencies { 6dependencies {
@@ -13,10 +13,4 @@ application {
13 13
14jar.manifest.attributes 'Main-Class': application.mainClass.get() 14jar.manifest.attributes 'Main-Class': application.mainClass.get()
15 15
16publishing { 16test.dependsOn project(':enigma').tasks.named('packageAccessTestObf')
17 publications {
18 shadow(MavenPublication) { publication ->
19 project.shadow.component publication
20 }
21 }
22}