Skip to content

Commit 3ab3647

Browse files
authored
Fix deprecated gradle features, prepare for gradle 9 (#2294)
1 parent d633789 commit 3ab3647

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

common.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ eclipse.jdt.file.withProperties { props ->
1515
group = 'org.jmonkeyengine'
1616
version = jmeFullVersion
1717

18-
sourceCompatibility = JavaVersion.VERSION_1_8
19-
targetCompatibility = JavaVersion.VERSION_1_8
18+
java {
19+
sourceCompatibility = JavaVersion.VERSION_1_8
20+
targetCompatibility = JavaVersion.VERSION_1_8
21+
}
2022

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

0 commit comments

Comments
 (0)