Skip to content

Commit f439166

Browse files
authored
fix(deps): adapt shadow configuration for shadow 9.x and update it to v9.2.2 (#360)
* fix: adapt shadow configuration for shadow 9.x and bump shadow fixes #355 * correct duplicates strategy
1 parent e9fd3f2 commit f439166

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

buildSrc/src/main/kotlin/config-publish.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ configurations.shadowRuntimeElements {
2727

2828
fun ShadowJar.configureStandard() {
2929
configurations = listOf(shade)
30+
filesMatching("META-INF/services/**") {
31+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
32+
}
3033

3134
dependencies {
3235
exclude(dependency("org.jetbrains.kotlin:.*:.*"))

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ mockk = "io.mockk:mockk:1.14.5"
4747
# Gradle
4848
gradle-licenser = "net.kyori:indra-licenser-spotless:3.2.0"
4949
gradle-spotless = "com.diffplug.spotless:spotless-plugin-gradle:7.2.1"
50-
gradle-shadow = "com.gradleup.shadow:com.gradleup.shadow.gradle.plugin:8.3.9"
50+
gradle-shadow = "com.gradleup.shadow:com.gradleup.shadow.gradle.plugin:9.2.2"
5151
gradle-kotlin-dsl = "org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:6.2.0"
5252
gradle-plugin-kotlin = { module = "org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin" }
5353
gradle-plugin-publish = "com.gradle.publish:plugin-publish-plugin:2.0.0"

0 commit comments

Comments
 (0)