set JVM to 11

This commit is contained in:
Fabrice Lecomte
2020-03-25 16:18:17 +01:00
parent d3bcfdd627
commit 07678afbe7

View File

@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins { plugins {
jacoco jacoco
@@ -17,6 +19,12 @@ repositories {
jcenter() jcenter()
} }
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
}
}
dependencies { dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.jetbrains.kotlin:kotlin-reflect:1.3.31") implementation("org.jetbrains.kotlin:kotlin-reflect:1.3.31")