Skip to content

Commit

Permalink
build: switch to Goooler/shadow fork (#415)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joshuasing authored Jun 18, 2024
1 parent cf4811f commit 7c2c331
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
plugins {
id("java")
id("chameleon.base") // Checkstyle and version injection, not required.
id("com.github.johnrengelman.shadow") version "8.1.1"
alias(libs.plugins.shadow)
}

/*
Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ errorprone-plugin = "4.0.0"
nullaway = "0.11.0"
nullaway-plugin = "2.0.0"
nexusPublish = "2.0.0"
shadow = "8.1.7"

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

0 comments on commit 7c2c331

Please sign in to comment.