Skip to content

Commit 7c2c331

Browse files
authored
build: switch to Goooler/shadow fork (#415)
The Gradle shadow plugin by johnrengelman is currently unmaintained, and does not currently support the latest versions of Gradle. There have been discussions regarding the future of the plugin, however nothing has been acted upon currently: GradleUp/shadow#908 This fork appears to be the most supported and best maintained fork, and has been suggested as the replacement for the original shadow plugin. Fixes #414 Related to #410
1 parent cf4811f commit 7c2c331

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

example/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
plugins {
2525
id("java")
2626
id("chameleon.base") // Checkstyle and version injection, not required.
27-
id("com.github.johnrengelman.shadow") version "8.1.1"
27+
alias(libs.plugins.shadow)
2828
}
2929

3030
/*

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ errorprone-plugin = "4.0.0"
3636
nullaway = "0.11.0"
3737
nullaway-plugin = "2.0.0"
3838
nexusPublish = "2.0.0"
39+
shadow = "8.1.7"
3940

4041
# Test
4142
junit = "5.10.2"
@@ -102,3 +103,4 @@ test-mockito-junit = { module = "org.mockito:mockito-junit-jupiter" }
102103
[plugins]
103104
indra-sonatype = { id = "net.kyori.indra.publishing.sonatype", version.ref = "indra" }
104105
nexusPublish = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "nexusPublish" }
106+
shadow = { id = "io.github.goooler.shadow", version.ref = "shadow" }

0 commit comments

Comments
 (0)