Skip to content

Commit 81d1ff0

Browse files
committed
set the source compliance to 1.8 to make the included projects build
with a common configuration
1 parent 20278c3 commit 81d1ff0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ subprojects {
3939
apply plugin: 'eclipse'
4040

4141
java {
42-
sourceCompatibility = JavaVersion.VERSION_21
43-
targetCompatibility = JavaVersion.VERSION_21
42+
sourceCompatibility = 1.8
43+
targetCompatibility = 1.8
4444
}
4545

4646
eclipse {
@@ -58,8 +58,8 @@ subprojects {
5858
}
5959
}
6060
jdt {
61-
sourceCompatibility = JavaVersion.VERSION_21
62-
targetCompatibility = JavaVersion.VERSION_21
61+
sourceCompatibility = 1.8
62+
targetCompatibility = 1.8
6363
}
6464
}
6565

@@ -239,8 +239,8 @@ eclipse {
239239
}
240240

241241
jdt {
242-
sourceCompatibility = JavaVersion.VERSION_21
243-
targetCompatibility = JavaVersion.VERSION_21
242+
sourceCompatibility = 1.8
243+
targetCompatibility = 1.8
244244
file {
245245
withProperties { properties ->
246246
properties.setProperty('org.eclipse.jdt.core.compiler.problem.forbiddenReference', 'ignore')

0 commit comments

Comments
 (0)