上传Maven
This commit is contained in:
@@ -19,7 +19,7 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug{
|
||||
debug {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
@@ -40,19 +40,20 @@ dependencies {
|
||||
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
implementation rootProject.ext.dependencies.androidxconstraintlayout
|
||||
implementation rootProject.ext.dependencies.rxjava
|
||||
implementation rootProject.ext.dependencies.rxandroid
|
||||
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}"
|
||||
implementation "com.mogo.cloud:socket:${MOGO_SOCKET_VERSION}"
|
||||
implementation "com.mogo.cloud:tanlu:${MOGO_TANLU_VERSION}"
|
||||
implementation "com.mogo.cloud:realtime:${MOGO_REALTIME_VERSION}"
|
||||
} else {
|
||||
implementation project(":foudations:mogo-socket")
|
||||
implementation project(":foudations:mogo-network")
|
||||
implementation project(path: ':modules:mogo-tanlu')
|
||||
implementation project(":modules:mogo-tanlu")
|
||||
implementation project(":modules:mogo-realtime")
|
||||
}
|
||||
|
||||
implementation rootProject.ext.dependencies.rxjava
|
||||
implementation rootProject.ext.dependencies.rxandroid
|
||||
implementation project(path: ':modules:mogo-realtime')
|
||||
annotationProcessor 'com.elegant.spi:compiler:1.0.3' //编译时库
|
||||
}
|
||||
@@ -54,7 +54,7 @@ dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
api "com.mogo.cloud:passport:${MOGO_PASSPORT_VERSION}"
|
||||
} else {
|
||||
api project(path: ':foudations:mogo-passport')
|
||||
api project(':foudations:mogo-passport')
|
||||
}
|
||||
|
||||
}
|
||||
@@ -34,7 +34,7 @@ dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
api "com.mogo.cloud:httpdns:${MOGO_HTTPDNS_VERSION}"
|
||||
} else {
|
||||
api project(path: ':foudations:mogo-httpdns')
|
||||
api project(':foudations:mogo-httpdns')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -23,11 +23,11 @@ SNAPSHOT_REPOSITORY_URL=http://nexus.zhidaoauto.com/repository/maven-snapshots/
|
||||
USERNAME=xintai
|
||||
PASSWORD=xintai2018
|
||||
# 编译模式: false - 依赖本地版本, true - 依赖 maven 版本
|
||||
RELEASE=false
|
||||
RELEASE=true
|
||||
# AI CLOUD 云平台
|
||||
MOGO_NETWORK_VERSION=1.0.7-SNAPSHOT
|
||||
MOGO_HTTPDNS_VERSION=1.0.7-SNAPSHOT
|
||||
MOGO_PASSPORT_VERSION=1.0.7-SNAPSHOT
|
||||
MOGO_SOCKET_VERSION=1.0.7-SNAPSHOT
|
||||
MOGO_REALTIME_VERSION=1.0.7-SNAPSHOT
|
||||
MOGO_TANLU_VERSION=1.0.7-SNAPSHOT
|
||||
MOGO_NETWORK_VERSION=1.0.8-SNAPSHOT
|
||||
MOGO_HTTPDNS_VERSION=1.0.8-SNAPSHOT
|
||||
MOGO_PASSPORT_VERSION=1.0.8-SNAPSHOT
|
||||
MOGO_SOCKET_VERSION=1.0.8-SNAPSHOT
|
||||
MOGO_REALTIME_VERSION=1.0.8-SNAPSHOT
|
||||
MOGO_TANLU_VERSION=1.0.8-SNAPSHOT
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -40,7 +40,7 @@ dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}"
|
||||
} else {
|
||||
implementation project(path: ':foudations:mogo-network')
|
||||
implementation project(':foudations:mogo-network')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user