diff --git a/android/build.gradle b/android/build.gradle index b2169f2f7..a056c32a1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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 diff --git a/build.gradle b/build.gradle index f73a3a758..87f574ba8 100644 --- a/build.gradle +++ b/build.gradle @@ -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",