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:
committed by
Facebook GitHub Bot
parent
9cacc9b594
commit
3b8e74d16f
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user