mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-10 19:05:08 +01:00
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:
parent
e68baf9088
commit
e08525679c
@ -51,14 +51,14 @@ android {
|
|||||||
|
|
||||||
/* JVM Bytecode Options */
|
/* JVM Bytecode Options */
|
||||||
def javaVersion = JavaVersion.VERSION_1_8
|
def javaVersion = JavaVersion.VERSION_1_8
|
||||||
compileOptions {
|
|
||||||
sourceCompatibility javaVersion
|
|
||||||
targetCompatibility javaVersion
|
|
||||||
}
|
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = javaVersion.toString()
|
jvmTarget = javaVersion.toString()
|
||||||
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
|
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
|
||||||
}
|
}
|
||||||
|
compileOptions {
|
||||||
|
sourceCompatibility javaVersion
|
||||||
|
targetCompatibility javaVersion
|
||||||
|
}
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
ci {
|
ci {
|
||||||
|
Loading…
Reference in New Issue
Block a user