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,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 {
|
||||
|
Reference in New Issue
Block a user