Skip to content

Commit

Permalink
Make resource-detector compatible with Java 8 (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
psx95 authored Dec 4, 2023
1 parent eb35a27 commit fed23bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions detectors/resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
*/
description = 'Google Cloud resource provider for OpenTelemetry'

afterEvaluate {
tasks.named("compileJava"){
options.release = 8
}
}

dependencies {
implementation(libraries.opentelemetry_api)
implementation(libraries.opentelemetry_sdk)
Expand Down

0 comments on commit fed23bf

Please sign in to comment.