forked from open-telemetry/opentelemetry-java-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
31 lines (26 loc) · 840 Bytes
/
build.gradle.kts
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
plugins {
id("com.diffplug.spotless")
id("com.github.johnrengelman.shadow") apply false
id("java-library")
}
subprojects {
apply(plugin = "com.diffplug.spotless")
apply(plugin = "java-library")
apply(plugin = "com.github.johnrengelman.shadow")
group = "io.opentelemetry"
version = "0.1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
// using the bom ensures that all of your opentelemetry dependency versions are aligned
implementation(platform("io.opentelemetry:opentelemetry-bom-alpha:1.32.0-alpha"))
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.32.0-alpha"))
}
spotless {
java {
targetExclude("**/generated/**")
googleJavaFormat()
}
}
}