Use kotlin

This commit is contained in:
tarsin committed 2022-05-17 22:48:54 +08:00
1 parent 4dbf5a45e8
commit fed04784db
2 files changed
+7

No files matched your search

+6
View File
@@ -2,6 +2,8 @@ import java.nio.file.Paths
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
}
android {
@@ -46,6 +48,10 @@ android {
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '11'
}
lint {
abortOnError true
checkReleaseBuilds false
+1
View File
@@ -1,5 +1,6 @@
plugins {
id 'com.android.application' version '7.2.0' apply false
id 'org.jetbrains.kotlin.android' version '1.6.21' apply false
}
task clean(type: Delete) {