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()