diff --git a/.github/renovate.json5 b/.github/renovate.json5 index b994008f4..abeabcfe7 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -10,8 +10,8 @@ "groupName": "spotless packages" }, { - "matchPackagePrefixes": ["org.ow2.asm:"], - "groupName": "asm packages" + "matchPackagePrefixes": ["com.gradleup.shadow"], + "groupName": "gradle shadow packages" }, { // pinned version for compatibility diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 237dee1f9..149732f92 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -44,5 +44,5 @@ dependencies { implementation("io.opentelemetry.instrumentation:gradle-plugins:2.6.0-alpha") // keep these versions in sync with settings.gradle.kts - implementation("gradle.plugin.com.github.johnrengelman:shadow:8.0.0") + implementation("com.gradleup.shadow:shadow-gradle-plugin:8.3.2") } diff --git a/buildSrc/src/main/kotlin/splunk.shadow-conventions.gradle.kts b/buildSrc/src/main/kotlin/splunk.shadow-conventions.gradle.kts index 217483b16..954700748 100644 --- a/buildSrc/src/main/kotlin/splunk.shadow-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/splunk.shadow-conventions.gradle.kts @@ -1,7 +1,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar plugins { - id("com.github.johnrengelman.shadow") + id("com.gradleup.shadow") } tasks.withType().configureEach { diff --git a/settings.gradle.kts b/settings.gradle.kts index 2f455b924..7154d660a 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -3,18 +3,7 @@ pluginManagement { id("com.bmuschko.docker-remote-api") version "9.4.0" id("io.github.gradle-nexus.publish-plugin") version "2.0.0" id("com.github.jk1.dependency-license-report") version "2.9" - } -} - -// We are using the following instead of having id("com.github.johnrengelman.shadow") version "8.1.1" -// in pluginManagement to make shadow plugin use a newer version of asm so that it wouldn't fail on -// classes compiled for jdk 21 (jackson-core 2.16.1 has such classes). This can be removed when -// shadow plugin is updated. -buildscript { - dependencies { - classpath("com.github.johnrengelman:shadow:8.1.1") - classpath("org.ow2.asm:asm:9.7") - classpath("org.ow2.asm:asm-commons:9.7") + id("com.gradleup.shadow") version "8.3.2" } }