diff options
| author | JosJuice <josjuice@gmail.com> | 2022-12-11 20:12:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-11 20:12:47 +0100 |
| commit | 19db7a87a32733432e452fb8be177ccc2c0780da (patch) | |
| tree | 7c086c2f7fe27c74c7eba751b61087f0507ec512 /Source/Android/app | |
| parent | fdd5190b4c70c75df923de8d77c8a0dcc10b125f (diff) | |
| parent | 8226506c8433a922e0904c52d7b01cf2b1d788c8 (diff) | |
Merge pull request #11343 from t895/kotlin-clean
Android: Introduce Kotlin support
Diffstat (limited to 'Source/Android/app')
| -rw-r--r-- | Source/Android/app/build.gradle | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/Android/app/build.gradle b/Source/Android/app/build.gradle index 824be80c3d..a502418417 100644 --- a/Source/Android/app/build.gradle +++ b/Source/Android/app/build.gradle @@ -1,4 +1,7 @@ -apply plugin: 'com.android.application' +plugins { + id 'com.android.application' + id 'org.jetbrains.kotlin.android' +} android { compileSdkVersion 33 @@ -14,6 +17,10 @@ android { targetCompatibility JavaVersion.VERSION_1_8 } + kotlinOptions { + jvmTarget = '1.8' + } + 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 @@ -111,6 +118,7 @@ android { dependencies { coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' + implementation 'androidx.core:core-ktx:1.9.0' implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'androidx.exifinterface:exifinterface:1.3.5' implementation 'androidx.cardview:cardview:1.0.0' |
