Suppress a linear configuration warning

Due to the way Android Studio reads gradle configuration, a false positive warning for incompatible Java versions is fired when the Kotlin Java version is not specified first.
This commit is contained in:
Abandoned Cart 2023-03-16 08:55:32 -04:00 committed by Niccolò Betto
parent e68baf9088
commit e08525679c
1 changed files with 4 additions and 4 deletions

View File

@ -51,14 +51,14 @@ android {
/* JVM Bytecode Options */
def javaVersion = JavaVersion.VERSION_1_8
compileOptions {
sourceCompatibility javaVersion
targetCompatibility javaVersion
}
kotlinOptions {
jvmTarget = javaVersion.toString()
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
}
compileOptions {
sourceCompatibility javaVersion
targetCompatibility javaVersion
}
signingConfigs {
ci {