We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee5a7ed commit efaf8a0Copy full SHA for efaf8a0
dd-java-agent/testing/build.gradle
@@ -76,14 +76,14 @@ tasks.named("shadowJar", ShadowJar) {
76
// Remove the regular jar from api elements and use shadow jar instead
77
// Also exclude jetty from being exposed as a transitive dependency (it's bundled in the shadow jar)
78
configurations {
79
- apiElements {
+ named('apiElements') {
80
outgoing.artifacts.clear()
81
- outgoing.artifact(tasks.shadowJar)
+ outgoing.artifact(tasks.named('shadowJar'))
82
exclude group: 'org.eclipse.jetty'
83
}
84
- runtimeElements {
+ named('runtimeElements') {
85
86
87
88
89
0 commit comments