plugins { id 'io.franzbecker.gradle-lombok' version '1.13' id 'com.jfrog.artifactory' version '4.7.5' id 'com.jfrog.bintray' version '1.8.4' id 'net.ltgt.errorprone' version '0.0.14' id 'org.unbroken-dome.test-sets' version '1.5.1' id 'com.gradle.build-scan' version '1.15.1' // Not applying google java format by default because it gets confused by stray java build // files in 'workspace' build directory in CI id 'com.github.sherter.google-java-format' version '0.7.1' apply false id 'com.dorongold.task-tree' version '1.3' } def isCI = System.getenv("CI") != null allprojects { group = 'com.datadoghq' version = '0.17.0-SNAPSHOT' if (isCI) { buildDir = "${rootDir}/workspace/${projectDir.path.replace(rootDir.path, '')}/build/" } apply from: "${rootDir}/gradle/dependencies.gradle" } repositories { jcenter() mavenCentral() } description = 'dd-trace-java' task traceAgentTest {} task latestDepTest {} // Applied here to allow publishing of artifactory build info apply from: "${rootDir}/gradle/publish.gradle" buildScan { termsOfServiceUrl = 'https://gradle.com/terms-of-service' termsOfServiceAgree = 'yes' if (isCI) { publishAlways() tag 'CI' } } ext.gradleWrapperVersion = '4.10.2' task wrapper(type: Wrapper) { gradleVersion = gradleWrapperVersion }