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 0f91d4f commit 2b6b84dCopy full SHA for 2b6b84d
dd-java-agent/testing/build.gradle
@@ -79,14 +79,14 @@ tasks.named("shadowJar", ShadowJar) {
79
// Remove the regular jar from api elements and use shadow jar instead
80
// Also exclude jetty from being exposed as a transitive dependency (it's bundled in the shadow jar)
81
configurations {
82
- apiElements {
+ named('apiElements') {
83
outgoing.artifacts.clear()
84
- outgoing.artifact(tasks.shadowJar)
+ outgoing.artifact(tasks.named('shadowJar'))
85
exclude group: 'org.eclipse.jetty'
86
}
87
- runtimeElements {
+ named('runtimeElements') {
88
89
90
91
92
0 commit comments