Skip to content

Commit

Permalink
Add gradle otel.java-conventions where missing (#1555)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored Nov 20, 2024
1 parent 035d0c8 commit a12ab63
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
1 change: 1 addition & 0 deletions jmx-metrics/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
id("otel.java-conventions")
application
id("com.github.johnrengelman.shadow")

Expand Down
8 changes: 2 additions & 6 deletions jmx-scraper/test-app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
plugins {
id("otel.java-conventions")

application
}

description = "JMX metrics scraper - test application"

java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}

tasks {
jar {
manifest {
Expand Down
8 changes: 2 additions & 6 deletions jmx-scraper/test-webapp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
plugins {
id("otel.java-conventions")

war
}

Expand All @@ -7,9 +9,3 @@ description = "JMX metrics scraper - test web application"
dependencies {
providedCompile("jakarta.servlet:jakarta.servlet-api:5.0.0")
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}

0 comments on commit a12ab63

Please sign in to comment.