Added kotlin serialization
Summary: ^ Reviewed By: lblasa Differential Revision: D38976576 fbshipit-source-id: 32022c263a0c81e6e99478375592ef1be9fea1cf
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2d4ca7003e
commit
c854d0a2bb
1
.gitignore
vendored
1
.gitignore
vendored
@@ -31,6 +31,7 @@ local.properties
|
|||||||
android/*/bin/**/*.class
|
android/*/bin/**/*.class
|
||||||
libs/*/bin/**/*.class
|
libs/*/bin/**/*.class
|
||||||
.cxx
|
.cxx
|
||||||
|
*.hprof
|
||||||
|
|
||||||
android/build
|
android/build
|
||||||
android/*/build
|
android/*/build
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
|
|
||||||
|
apply plugin: 'kotlinx-serialization'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion rootProject.compileSdkVersion
|
compileSdkVersion rootProject.compileSdkVersion
|
||||||
buildToolsVersion rootProject.buildToolsVersion
|
buildToolsVersion rootProject.buildToolsVersion
|
||||||
@@ -72,6 +75,8 @@ android {
|
|||||||
implementation deps.supportAppCompat
|
implementation deps.supportAppCompat
|
||||||
implementation deps.supportSqlite
|
implementation deps.supportSqlite
|
||||||
implementation deps.websocket
|
implementation deps.websocket
|
||||||
|
implementation deps.kotlinxSerializationJson
|
||||||
|
|
||||||
|
|
||||||
testImplementation deps.mockito
|
testImplementation deps.mockito
|
||||||
testImplementation deps.robolectric
|
testImplementation deps.robolectric
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ buildscript {
|
|||||||
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.20.0'
|
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.20.0'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
|
||||||
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.10"
|
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.10"
|
||||||
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$KOTLIN_VERSION"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -75,6 +76,7 @@ ext.deps = [
|
|||||||
websocket : 'org.java-websocket:Java-WebSocket:1.5.3',
|
websocket : 'org.java-websocket:Java-WebSocket:1.5.3',
|
||||||
openssl : 'com.android.ndk.thirdparty:openssl:1.1.1l-beta-1',
|
openssl : 'com.android.ndk.thirdparty:openssl:1.1.1l-beta-1',
|
||||||
// Annotations
|
// Annotations
|
||||||
|
kotlinxSerializationJson : "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0",
|
||||||
jsr305 : 'com.google.code.findbugs:jsr305:3.0.2',
|
jsr305 : 'com.google.code.findbugs:jsr305:3.0.2',
|
||||||
inferAnnotations : 'com.facebook.infer.annotation:infer-annotation:0.18.0',
|
inferAnnotations : 'com.facebook.infer.annotation:infer-annotation:0.18.0',
|
||||||
proguardAnnotations: 'com.facebook.yoga:proguard-annotations:1.19.0',
|
proguardAnnotations: 'com.facebook.yoga:proguard-annotations:1.19.0',
|
||||||
|
|||||||
Reference in New Issue
Block a user