Skip to content

Commit d15927a

Browse files
authored
Update shadow plugin to new version and coordinates (#11979)
1 parent d0e4a23 commit d15927a

File tree

25 files changed

+25
-39
lines changed

25 files changed

+25
-39
lines changed

conventions/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies {
5757
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.25.0")
5858
implementation("com.google.guava:guava:33.2.1-jre")
5959
implementation("gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.18")
60-
implementation("com.github.johnrengelman:shadow:8.1.1")
60+
implementation("com.gradleup.shadow:shadow-gradle-plugin:8.3.0")
6161
implementation("org.apache.httpcomponents:httpclient:4.5.14")
6262
implementation("com.gradle.develocity:com.gradle.develocity.gradle.plugin:3.17.6")
6363
implementation("org.owasp:dependency-check-gradle:10.0.3")

conventions/src/main/kotlin/io.opentelemetry.instrumentation.javaagent-shadowing.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
22

33
plugins {
4-
id("com.github.johnrengelman.shadow")
4+
id("com.gradleup.shadow")
55
}
66

77
// NOTE: any modifications below should also be made in

examples/distro/agent/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
22

33
plugins {
4-
id("com.github.johnrengelman.shadow")
4+
id("com.gradleup.shadow")
55
}
66

77
apply from: "$rootDir/gradle/shadow.gradle"

examples/distro/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
}
1414
dependencies {
1515
classpath "com.diffplug.spotless:spotless-plugin-gradle:6.25.0"
16-
classpath "com.github.johnrengelman:shadow:8.1.1"
16+
classpath "com.gradleup.shadow:shadow-gradle-plugin:8.3.0"
1717
classpath "io.opentelemetry.instrumentation:gradle-plugins:2.7.0-alpha-SNAPSHOT"
1818
}
1919
}

examples/distro/gradle/instrumentation.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply plugin: 'java'
2-
apply plugin: 'com.github.johnrengelman.shadow'
2+
apply plugin: 'com.gradleup.shadow'
33
apply plugin: 'io.opentelemetry.instrumentation.muzzle-generation'
44
apply plugin: 'io.opentelemetry.instrumentation.muzzle-check'
55

examples/distro/testing/agent-for-testing/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
22

33
plugins {
4-
id("com.github.johnrengelman.shadow")
4+
id("com.gradleup.shadow")
55
}
66

77
apply from: "$rootDir/gradle/shadow.gradle"

examples/extension/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
into a single jar.
1111
See https://imperceptiblethoughts.com/shadow/ for more details about Shadow plugin.
1212
*/
13-
id "com.github.johnrengelman.shadow" version "8.1.1"
13+
id "com.gradleup.shadow" version "8.3.0"
1414
id "com.diffplug.spotless" version "6.25.0"
1515

1616
id "io.opentelemetry.instrumentation.muzzle-generation" version "2.7.0-alpha-SNAPSHOT"

gradle-plugins/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies {
3939
implementation("org.eclipse.aether:aether-transport-http:${aetherVersion}")
4040
implementation("org.apache.maven:maven-aether-provider:3.3.9")
4141

42-
implementation("com.github.johnrengelman:shadow:8.1.1")
42+
implementation("com.gradleup.shadow:shadow-gradle-plugin:8.3.0")
4343

4444
testImplementation("org.assertj:assertj-core:3.26.3")
4545

gradle-plugins/src/main/kotlin/io.opentelemetry.instrumentation.muzzle-check.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ import java.util.stream.StreamSupport
2828

2929
plugins {
3030
`java-library`
31-
32-
id("com.github.johnrengelman.shadow")
31+
id("com.gradleup.shadow")
3332
}
3433

3534
// Select a random set of versions to test

instrumentation/azure-core/azure-core-1.14/library-instrumentation-shaded/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

instrumentation/azure-core/azure-core-1.19/library-instrumentation-shaded/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

instrumentation/azure-core/azure-core-1.36/library-instrumentation-shaded/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

instrumentation/couchbase/couchbase-3.1.6/tracing-opentelemetry-shaded/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

instrumentation/couchbase/couchbase-3.1/tracing-opentelemetry-shaded/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
2+
id("com.gradleup.shadow")
33

44
id("otel.java-conventions")
55
}

instrumentation/couchbase/couchbase-3.2/tracing-opentelemetry-shaded/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

instrumentation/jdbc/library/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
plugins {
7-
id("com.github.johnrengelman.shadow")
7+
id("com.gradleup.shadow")
88
id("otel.library-instrumentation")
99
}
1010

instrumentation/r2dbc-1.0/library-instrumentation-shaded/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

javaagent-internal-logging-simple/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
33
plugins {
44
id("otel.java-conventions")
55
id("otel.publish-conventions")
6-
7-
id("com.github.johnrengelman.shadow")
6+
id("com.gradleup.shadow")
87
}
98

109
group = "io.opentelemetry.javaagent"

opentelemetry-api-shaded-for-instrumenting/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
22

33
plugins {
4-
id("com.github.johnrengelman.shadow")
5-
4+
id("com.gradleup.shadow")
65
id("otel.java-conventions")
76
}
87

opentelemetry-ext-annotations-shaded-for-instrumenting/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

opentelemetry-instrumentation-annotations-shaded-for-instrumenting/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

opentelemetry-instrumentation-api-shaded-for-instrumenting/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

smoke-tests/images/fake-backend/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ import java.time.format.DateTimeFormatter
55

66
plugins {
77
id("otel.java-conventions")
8-
98
id("com.bmuschko.docker-remote-api")
10-
id("com.github.johnrengelman.shadow")
9+
id("com.gradleup.shadow")
1110
id("com.google.cloud.tools.jib")
1211
}
1312

testing/agent-exporter/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
2+
id("com.gradleup.shadow")
33
id("otel.java-conventions")
44
}
55

testing/armeria-shaded-for-testing/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id("com.github.johnrengelman.shadow")
3-
2+
id("com.gradleup.shadow")
43
id("otel.java-conventions")
54
}
65

0 commit comments

Comments
 (0)