From 8226506c8433a922e0904c52d7b01cf2b1d788c8 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Sun, 11 Dec 2022 03:16:33 -0500 Subject: Android: Introduce Kotlin support --- Source/Android/app/build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Source/Android/app') 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' -- cgit v1.2.3