diff --git a/build.gradle b/build.gradle index 238e0df..824b419 100644 --- a/build.gradle +++ b/build.gradle @@ -19,11 +19,8 @@ dependencies { testImplementation "junit:junit:$junit_version" } -compileKotlin { - kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 -} -compileTestKotlin { - kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 +kotlin { + jvmToolchain(8) } def getVersionFromGit() { @@ -37,4 +34,4 @@ def getVersionFromGit() { } catch (ignored) { return "1.0.0" } -} +} \ No newline at end of file