summaryrefslogtreecommitdiff
path: root/src/android/app
diff options
context:
space:
mode:
authorGravatar Charles Lombardo2023-03-06 02:01:37 -0500
committerGravatar bunnei2023-06-03 00:05:34 -0700
commit834d53fbbfcaef45172f6f4dc57c7c41815ba071 (patch)
tree012cfea54244b4e7ce840b99c8a45e20d720f3a2 /src/android/app
parentandroid: Upgrade java version to 11 (diff)
downloadyuzu-834d53fbbfcaef45172f6f4dc57c7c41815ba071.tar.gz
yuzu-834d53fbbfcaef45172f6f4dc57c7c41815ba071.tar.xz
yuzu-834d53fbbfcaef45172f6f4dc57c7c41815ba071.zip
android: Enable Kotlin support
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/build.gradle10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/android/app/build.gradle b/src/android/app/build.gradle
index 2eab98197..e230f2f92 100644
--- a/src/android/app/build.gradle
+++ b/src/android/app/build.gradle
@@ -1,4 +1,7 @@
1apply plugin: 'com.android.application' 1plugins {
2 id 'com.android.application'
3 id 'org.jetbrains.kotlin.android'
4}
2 5
3/** 6/**
4 * Use the number of seconds/10 since Jan 1 2016 as the versionCode. 7 * Use the number of seconds/10 since Jan 1 2016 as the versionCode.
@@ -20,6 +23,10 @@ android {
20 targetCompatibility JavaVersion.VERSION_11 23 targetCompatibility JavaVersion.VERSION_11
21 } 24 }
22 25
26 kotlinOptions {
27 jvmTarget = '11'
28 }
29
23 lint { 30 lint {
24 // This is important as it will run lint but not abort on error 31 // This is important as it will run lint but not abort on error
25 // Lint has some overly obnoxious "errors" that should really be warnings 32 // Lint has some overly obnoxious "errors" that should really be warnings
@@ -115,6 +122,7 @@ android {
115} 122}
116 123
117dependencies { 124dependencies {
125 implementation 'androidx.core:core-ktx:1.9.0'
118 implementation 'androidx.appcompat:appcompat:1.6.1' 126 implementation 'androidx.appcompat:appcompat:1.6.1'
119 implementation 'androidx.exifinterface:exifinterface:1.3.6' 127 implementation 'androidx.exifinterface:exifinterface:1.3.6'
120 implementation 'androidx.cardview:cardview:1.0.0' 128 implementation 'androidx.cardview:cardview:1.0.0'