This commit is contained in:
zhongchao
2021-02-02 10:12:49 +08:00
10 changed files with 53 additions and 31 deletions

View File

@@ -28,15 +28,16 @@ android {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation project(path: ':foudations:mogo-passport')
api rootProject.ext.dependencies.spi
if (Boolean.valueOf(RELEASE)) {
implementation "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}"
implementation "com.mogo.cloud:socket:${MOGO_SOCKET_VERSION}"
} else {
implementation project(":foudations:mogo-socket")
implementation project(":foudations:mogo-network")
implementation project(":foudations:mogo-socket")
}
}
}
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()

View File

@@ -38,9 +38,9 @@ dependencies {
implementation rootProject.ext.dependencies.videoprocessor
if (Boolean.valueOf(RELEASE)) {
implementation "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}"
api "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}"
} else {
implementation project(path: ':foudations:mogo-network')
api project(':foudations:mogo-network')
}
}