Ensure Android Java and Kotlin compile to the same version
This commit is contained in:
parent
11b683dab7
commit
b19bbadcf0
8 changed files with 69 additions and 12 deletions
|
|
@ -1,5 +1,8 @@
|
|||
// Gradle build config for Godot Engine's Android port.
|
||||
apply plugin: 'com.android.application'
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libraries.kotlinStdLib
|
||||
|
|
@ -29,6 +32,10 @@ android {
|
|||
targetCompatibility versions.javaVersion
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = versions.javaVersion
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
dev {
|
||||
initWith debug
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue