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,6 +1,7 @@
|
|||
// Non functional android library used to provide Android Studio editor support to the project.
|
||||
plugins {
|
||||
id 'com.android.library'
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
@ -18,6 +19,10 @@ android {
|
|||
targetCompatibility versions.javaVersion
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = versions.javaVersion
|
||||
}
|
||||
|
||||
packagingOptions {
|
||||
exclude 'META-INF/LICENSE'
|
||||
exclude 'META-INF/NOTICE'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue