forked from open-telemetry/opentelemetry-java-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (36 loc) · 1.06 KB
/
build.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
plugins {
id "com.diffplug.spotless"
id "com.github.johnrengelman.shadow" apply false
}
subprojects {
apply plugin: 'eclipse'
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'idea'
apply plugin: 'com.diffplug.spotless'
apply plugin: 'com.github.johnrengelman.shadow'
group = "io.opentelemetry"
version = "0.1.0-SNAPSHOT"
repositories {
mavenCentral()
maven {
// Add snapshot repository
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
compileJava {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
dependencies {
implementation platform("io.opentelemetry:opentelemetry-bom-alpha:1.20.1-alpha")
implementation platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.20.2-alpha")
implementation platform("io.grpc:grpc-bom:1.51.0")
}
spotless {
java {
targetExclude '**/generated/**'
googleJavaFormat()
}
}
}