forked from DataDog/dd-trace-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dd-trace-java.gradle
59 lines (47 loc) · 1.31 KB
/
dd-trace-java.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "io.franzbecker:gradle-lombok:1.13"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.7.3"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.1"
classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.0.14"
classpath "org.unbroken-dome.gradle-plugins:gradle-testsets-plugin:1.5.0"
}
}
plugins {
id 'com.gradle.build-scan' version '1.15.1'
id 'com.github.sherter.google-java-format' version '0.7.1'
id 'com.dorongold.task-tree' version '1.3'
}
def isCI = System.getenv("CI") != null
allprojects {
group = 'com.datadoghq'
version = '0.16.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.1'
task wrapper(type: Wrapper) {
gradleVersion = gradleWrapperVersion
}