gradle build settings tweak to avoid jdk version conflict

This commit is contained in:
Irmen de Jong
2021-12-04 18:36:47 +01:00
parent 0498444ef2
commit c92f914081
7 changed files with 85 additions and 1 deletions

View File

@@ -11,6 +11,18 @@ java {
}
}
compileKotlin {
kotlinOptions {
jvmTarget = javaVersion
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = javaVersion
}
}
dependencies {
implementation project(':compilerAst')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"