Skip to content

Commit d0e09f8

Browse files
committed
Add gradle otel.java-conventions where missing
1 parent 857e4ae commit d0e09f8

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

jmx-metrics/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
2+
id("otel.java-conventions")
23
application
34
id("com.github.johnrengelman.shadow")
45

jmx-scraper/test-app/build.gradle.kts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
plugins {
2+
id("otel.java-conventions")
3+
24
application
35
}
46

57
description = "JMX metrics scraper - test application"
68

7-
java {
8-
toolchain {
9-
languageVersion = JavaLanguageVersion.of(8)
10-
}
11-
}
12-
139
tasks {
1410
jar {
1511
manifest {
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
plugins {
2+
id("otel.java-conventions")
3+
24
war
35
}
46

@@ -7,9 +9,3 @@ description = "JMX metrics scraper - test web application"
79
dependencies {
810
providedCompile("jakarta.servlet:jakarta.servlet-api:5.0.0")
911
}
10-
11-
java {
12-
toolchain {
13-
languageVersion = JavaLanguageVersion.of(8)
14-
}
15-
}

0 commit comments

Comments
 (0)