diff --git a/domain/build.gradle.kts b/domain/build.gradle.kts index 5bc715b9..f9c22b00 100644 --- a/domain/build.gradle.kts +++ b/domain/build.gradle.kts @@ -10,8 +10,8 @@ tasks.withType { } java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = javaVersion + targetCompatibility = javaVersion } dependencies { diff --git a/testing/build.gradle.kts b/testing/build.gradle.kts index 252e3441..950cda12 100644 --- a/testing/build.gradle.kts +++ b/testing/build.gradle.kts @@ -6,8 +6,8 @@ plugins { } java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = javaVersion + targetCompatibility = javaVersion } dependencies {