From 6251a613b7ae8c9806c83ac8f792a0ca987d411b Mon Sep 17 00:00:00 2001 From: shevek-google <94193257+shevek-google@users.noreply.github.com> Date: Mon, 4 Jul 2022 16:38:04 +0000 Subject: [PATCH] Dumper: Compile with compatibility=1.8. (#48) --- .../dwh-migration-dumper.java-common-conventions.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildSrc/src/main/groovy/dwh-migration-dumper.java-common-conventions.gradle b/buildSrc/src/main/groovy/dwh-migration-dumper.java-common-conventions.gradle index fe531105c..bafad5c7b 100644 --- a/buildSrc/src/main/groovy/dwh-migration-dumper.java-common-conventions.gradle +++ b/buildSrc/src/main/groovy/dwh-migration-dumper.java-common-conventions.gradle @@ -118,6 +118,11 @@ dependencies { testRuntimeOnly "org.slf4j:jcl-over-slf4j:$jclOverSlf4jVersion" } +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + tasks.named('test') { // Use junit platform for unit tests. // useJUnitPlatform()