mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-10-14 18:38:19 +02:00
Update dependency com.gradleup.shadow to v9 (#4760)
* Update dependency com.gradleup.shadow to v9 * Fix missing shadow runtimes on Gradle 9 Signed-off-by: Alexander Brandes <mc.cache@web.de> --------- Signed-off-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
@@ -101,10 +101,16 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
afterEvaluate {
|
||||||
val javaComponent = components["java"] as AdhocComponentWithVariants
|
val javaComponent = components["java"] as AdhocComponentWithVariants
|
||||||
javaComponent.withVariantsFromConfiguration(configurations["shadowRuntimeElements"]) {
|
configurations.findByName("shadowRuntimeElements")?.let { shadowRuntimeElements ->
|
||||||
|
javaComponent.withVariantsFromConfiguration(shadowRuntimeElements) {
|
||||||
skip()
|
skip()
|
||||||
}
|
}
|
||||||
|
} ?: run {
|
||||||
|
logger.warn("Configuration 'shadowRuntimeElements' does not exist.")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
signing {
|
signing {
|
||||||
if (!project.hasProperty("skip.signing") && !version.toString().endsWith("-SNAPSHOT")) {
|
if (!project.hasProperty("skip.signing") && !version.toString().endsWith("-SNAPSHOT")) {
|
||||||
|
@@ -33,7 +33,7 @@ vault = "1.7.1"
|
|||||||
serverlib = "2.3.7"
|
serverlib = "2.3.7"
|
||||||
|
|
||||||
# Gradle plugins
|
# Gradle plugins
|
||||||
shadow = "8.3.9"
|
shadow = "9.2.2"
|
||||||
grgit = "4.1.1"
|
grgit = "4.1.1"
|
||||||
spotless = "8.0.0"
|
spotless = "8.0.0"
|
||||||
publish = "0.34.0"
|
publish = "0.34.0"
|
||||||
|
Reference in New Issue
Block a user