use java 11

This commit is contained in:
Torma Kristóf 2020-05-22 01:49:26 +02:00
parent 5f42110d75
commit 0f71773149
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -12,8 +12,8 @@ buildscript {
}
tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
apply plugin: 'kotlin'
@ -65,7 +65,7 @@ kotlin.experimental.coroutines = 'enable'
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
}
}