Skip to content

Commit ef72e3a

Browse files
authored
Merge pull request #599 from rundeck/upgrade-gradle-8
Upgrade to Gradle 8.11.1 to fix PGP verification issues
2 parents 0128473 + c9f5e82 commit ef72e3a

6 files changed

Lines changed: 4748 additions & 4787 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,21 @@ rundeck-cli-VERS-all.jar (shadowed jar)
5656

5757
./gradlew build
5858

59-
## Build Lenient
59+
## Update Dependency Verification
6060

61-
Build with lenient mode dependency verification
61+
Dependency verification is automatically updated by Renovate when dependencies change.
6262

63-
./gradlew build --dependency-verification lenient
63+
**If you manually update a dependency**, you must regenerate verification metadata:
6464

65-
## Write Dependency Verification
65+
./gradlew --write-verification-metadata pgp,sha256 --export-keys help
6666

67-
Update dependency verification metadata and export any new keys.
67+
This updates both `gradle/verification-metadata.xml` (trusted keys) and `gradle/verification-keyring.keys` (PGP keyring). Commit both files.
6868

69-
./gradlew --write-verification-metadata sha256 --refresh-dependencies help
70-
./gradlew --write-verification-metadata pgp,sha256 --refresh-keys --export-keys --refresh-dependencies help
71-
rm gradle/verification-keyring.gpg
72-
git add gradle/verification-metadata.xml
73-
git add gradle/verification-keyring.keys
69+
## Refresh Dependency Verification Keys
70+
71+
After a failed build.
72+
73+
./gradlew --write-verification-metadata pgp,sha256 --refresh-keys --export-keys help
7474

7575
## Install Locally
7676

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ groovy = "3.0.25"
99
spock = "2.1-groovy-3.0"
1010
axion = "1.15.5"
1111
nexusPublish = "1.3.0"
12-
shadow = "7.1.2"
13-
ospackage = "9.1.1"
12+
shadow = "8.1.1"
13+
ospackage = "11.11.2"
1414
buildInfo = "0.9"
1515
buildConfig = "3.1.0"
1616
jacksonDatabind = "2.19.2"
@@ -65,6 +65,6 @@ rundeckAuthz = ["rundeckAuthzCore", "rundeckAuthzApi", "rundeckAuthzYaml"]
6565
axion = { id = "pl.allegro.tech.build.axion-release", version.ref = "axion" }
6666
nexusPublish = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "nexusPublish" }
6767
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
68-
ospackage = { id = "nebula.ospackage", version.ref = "ospackage" }
68+
ospackage = { id = "com.netflix.nebula.ospackage", version.ref = "ospackage" }
6969
buildInfo = { id = "org.dvaske.gradle.git-build-info", version.ref = "buildInfo" }
7070
buildConfig = { id = 'com.github.gmazzo.buildconfig', version.ref = "buildConfig" }

0 commit comments

Comments
 (0)