Skip to content

Commit

Permalink
Fix deprecated gradle features, prepare for gradle 9 (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
8Keep authored Jul 8, 2024
1 parent d633789 commit 3ab3647
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ eclipse.jdt.file.withProperties { props ->
group = 'org.jmonkeyengine'
version = jmeFullVersion

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

tasks.withType(JavaCompile) { // compile-time options:
//options.compilerArgs << '-Xlint:deprecation' // to show deprecation warnings
Expand Down

0 comments on commit 3ab3647

Please sign in to comment.