Upgrade gradle version
MODIFY
dd-trace-java.gradle
dd-trace-java.gradle
@@ -53,7 +53,7 @@ buildScan {
}
}
-ext.gradleWrapperVersion = '4.8.1'
+ext.gradleWrapperVersion = '4.9'
task wrapper(type: Wrapper) {
gradleVersion = gradleWrapperVersion
}

MODIFY
gradle/java.gradle
gradle/java.gradle
@@ -118,7 +118,13 @@ artifacts {
if (project.plugins.hasPlugin('com.github.johnrengelman.shadow')) {
// Remove the no-deps jar from the archives to prevent publication
configurations.archives.with {
- artifacts.remove artifacts.find { it.archiveTask.is jar }
+ artifacts.remove artifacts.find {
+ if (it.hasProperty("delegate")) {
+ it.delegate.archiveTask.is jar
+ } else {
+ it.archiveTask.is jar
+ }
+ }
}
artifacts {
archives shadowJar

MODIFY
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

Upgrade gradle version