mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-10-14 10:28: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,9 +101,15 @@ subprojects {
|
||||
}
|
||||
}
|
||||
|
||||
val javaComponent = components["java"] as AdhocComponentWithVariants
|
||||
javaComponent.withVariantsFromConfiguration(configurations["shadowRuntimeElements"]) {
|
||||
skip()
|
||||
afterEvaluate {
|
||||
val javaComponent = components["java"] as AdhocComponentWithVariants
|
||||
configurations.findByName("shadowRuntimeElements")?.let { shadowRuntimeElements ->
|
||||
javaComponent.withVariantsFromConfiguration(shadowRuntimeElements) {
|
||||
skip()
|
||||
}
|
||||
} ?: run {
|
||||
logger.warn("Configuration 'shadowRuntimeElements' does not exist.")
|
||||
}
|
||||
}
|
||||
|
||||
signing {
|
||||
|
@@ -33,7 +33,7 @@ vault = "1.7.1"
|
||||
serverlib = "2.3.7"
|
||||
|
||||
# Gradle plugins
|
||||
shadow = "8.3.9"
|
||||
shadow = "9.2.2"
|
||||
grgit = "4.1.1"
|
||||
spotless = "8.0.0"
|
||||
publish = "0.34.0"
|
||||
|
Reference in New Issue
Block a user