diff options
| author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-06 02:01:37 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2023-06-03 00:05:34 -0700 |
| commit | 834d53fbbfcaef45172f6f4dc57c7c41815ba071 (patch) | |
| tree | 012cfea54244b4e7ce840b99c8a45e20d720f3a2 /src/android/app | |
| parent | 96ea063b45e08f402d5324eb490bbb380e1edea7 (diff) | |
android: Enable Kotlin support
Diffstat (limited to 'src/android/app')
| -rw-r--r-- | src/android/app/build.gradle | 10 |
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 @@ -apply plugin: 'com.android.application' +plugins { + id 'com.android.application' + id 'org.jetbrains.kotlin.android' +} /** * Use the number of seconds/10 since Jan 1 2016 as the versionCode. @@ -20,6 +23,10 @@ android { targetCompatibility JavaVersion.VERSION_11 } + kotlinOptions { + jvmTarget = '11' + } + lint { // This is important as it will run lint but not abort on error // Lint has some overly obnoxious "errors" that should really be warnings @@ -115,6 +122,7 @@ android { } dependencies { + implementation 'androidx.core:core-ktx:1.9.0' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.exifinterface:exifinterface:1.3.6' implementation 'androidx.cardview:cardview:1.0.0' |
