修改本地话依赖可用

This commit is contained in:
董宏宇
2021-02-01 15:38:12 +08:00
parent 0eeffcf785
commit 726aa40b51
3 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ dependencies {
if (Boolean.valueOf(RELEASE)) {
api "com.mogo.cloud:passport:${MOGO_PASSPORT_VERSION}"
} else {
api project(':foudations:mogo-passport')
api project(path: ':foudations:mogo-passport')
}
}

View File

@@ -23,7 +23,7 @@ SNAPSHOT_REPOSITORY_URL=http://nexus.zhidaoauto.com/repository/maven-snapshots/
USERNAME=xintai
PASSWORD=xintai2018
# 编译模式: false - 依赖本地版本, true - 依赖 maven 版本
RELEASE=true
RELEASE=false
# AI CLOUD 云平台
MOGO_NETWORK_VERSION=1.0.8-SNAPSHOT
MOGO_HTTPDNS_VERSION=1.0.8-SNAPSHOT

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(':foudations:mogo-network')
api project(':foudations:mogo-network')
}
}