Fix compilation warning: `'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.`

This commit is contained in:
Benoit Marty 2022-10-05 11:37:43 +02:00 committed by Benoit Marty
parent 15616ecc7c
commit 70383130f5
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,11 @@ android {
}
}
compileOptions {
sourceCompatibility versions.sourceCompat
targetCompatibility versions.targetCompat
}
kotlinOptions {
jvmTarget = "11"
}