Add kotlin support

Summary:
^

changelog: Add kotlin support for the android library

Reviewed By: LukeDefeo

Differential Revision: D38746572

fbshipit-source-id: f49534072eee3854368ea6f725e726560c03d76e
This commit is contained in:
Lorenzo Blasa
2022-08-18 05:16:38 -07:00
committed by Facebook GitHub Bot
parent 9cacc9b594
commit 3b8e74d16f
2 changed files with 5 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
*/
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion rootProject.compileSdkVersion
@@ -62,6 +63,8 @@ android {
dependencies {
compileOnly deps.proguardAnnotations
implementation deps.kotlinStdLibrary
implementation deps.openssl
implementation deps.fbjni
implementation deps.soloader

View File

@@ -52,6 +52,8 @@ ext {
}
ext.deps = [
// Kotlin support
kotlinStdLibrary : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION",
// Android support
supportAnnotations : "androidx.annotation:annotation:$ANDROIDX_VERSION",
supportAppCompat : "androidx.appcompat:appcompat:$ANDROIDX_VERSION",