Skip to content

Commit

Permalink
use new gradle convention for java source and target (#8476)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-aouadi authored Jul 26, 2024
1 parent 2ffd3e1 commit baa7f0f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,13 @@ allprojects {
jar.preserveFileTimestamps = false
}

sourceCompatibility = '21'
targetCompatibility = '21'
java {
sourceCompatibility = JavaVersion.VERSION_21
}

java {
targetCompatibility = JavaVersion.VERSION_21
}

repositories {
mavenLocal()
Expand Down

0 comments on commit baa7f0f

Please sign in to comment.