Skip to content

Commit 518a2d1

Browse files
authored
fix(build): pin JGit to 5.13.x for JReleaser (#238)
1 parent 2f8a581 commit 518a2d1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

build-logic/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,12 @@ dependencies {
2424
implementation(baselibs.shadow)
2525
implementation(baselibs.spotless)
2626
implementation(baselibs.jreleaser)
27+
28+
// JReleaser 1.23.0 still references GpgObjectSigner, removed in JGit 7.x;
29+
// Spotless 8.4.0 pulls JGit 7.x onto the same classpath. Force JGit to 5.13.x
30+
// until JReleaser upgrades (https://github.com/jreleaser/jreleaser/issues/1846).
31+
implementation("org.eclipse.jgit:org.eclipse.jgit") {
32+
version { strictly("5.13.5.202508271544-r") }
33+
because("JReleaser 1.23.0 references GpgObjectSigner removed in JGit 7.x")
34+
}
2735
}

0 commit comments

Comments
 (0)