Skip to content

Commit

Permalink
build: Explicitly set release property in compile options
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Mar 9, 2024
1 parent 1d3889c commit aadbbd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ allprojects {
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.javaModuleVersion.set(String.valueOf(project.version))
options.release.set(targetCompatibility as Integer)
}
}

Expand Down

0 comments on commit aadbbd9

Please sign in to comment.