增加了Maven依赖关系
This commit is contained in:
@@ -11,7 +11,7 @@ android {
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
multiDexEnabled true
|
||||
packagingOptions {
|
||||
//解决编译时com.android.builder.merge.DuplicateRelativeFileException: More than one file was found with OS independent path 'META-INF/rxjava.properties'这个错误
|
||||
exclude 'META-INF/rxjava.properties'
|
||||
@@ -32,13 +32,19 @@ android {
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation 'com.android.support:multidex:1.0.3'
|
||||
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
implementation rootProject.ext.dependencies.androidxconstraintlayout
|
||||
implementation project(path: ':foudations:mogo-passport')
|
||||
implementation project(path: ':foudations:mogo-commons')
|
||||
implementation project(path: ':modules:mogo-tanlu')
|
||||
// implementation project(path: ':foudations:mogo-passport')
|
||||
implementation 'com.mogo.cloud:passport:1.0.2-SNAPSHOT'
|
||||
|
||||
// implementation project(path: ':foudations:mogo-commons')
|
||||
implementation 'com.mogo.cloud:commons:1.0.2-SNAPSHOT'
|
||||
|
||||
// implementation project(path: ':modules:mogo-tanlu')
|
||||
implementation 'com.mogo.cloud:tanlu:1.0.1-SNAPSHOT'
|
||||
|
||||
// implementation 'com.mogo.cloud:passport:1.0.0'
|
||||
implementation rootProject.ext.dependencies.rxjava
|
||||
implementation rootProject.ext.dependencies.rxandroid
|
||||
}
|
||||
@@ -2,6 +2,8 @@ package com.mogo.cloud;
|
||||
|
||||
import android.app.Application;
|
||||
|
||||
import androidx.multidex.MultiDexApplication;
|
||||
|
||||
import com.mogo.cloud.httpdns.MogoHttpDnsConfig;
|
||||
import com.mogo.cloud.httpdns.bean.HttpDnsSimpleLocation;
|
||||
import com.mogo.cloud.httpdns.listener.IHttpDnsCurrentLocation;
|
||||
@@ -15,7 +17,7 @@ import java.util.Random;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public class MoGoApplication extends Application {
|
||||
public class MoGoApplication extends MultiDexApplication {
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
|
||||
@@ -54,12 +54,12 @@ dependencies {
|
||||
implementation rootProject.ext.dependencies.androidxccorektx
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
implementation rootProject.ext.dependencies.okhttpinterceptor
|
||||
api rootProject.ext.dependencies.retrofit
|
||||
api rootProject.ext.dependencies.retrofitadapter
|
||||
api rootProject.ext.dependencies.retrofitconvertergson
|
||||
api rootProject.ext.dependencies.retrofitconverterscalars
|
||||
api project(path: ':foudations:mogo-httpdns')
|
||||
api project(path: ':foudations:mogo-passport')
|
||||
implementation rootProject.ext.dependencies.retrofit
|
||||
implementation rootProject.ext.dependencies.retrofitadapter
|
||||
implementation rootProject.ext.dependencies.retrofitconvertergson
|
||||
implementation rootProject.ext.dependencies.retrofitconverterscalars
|
||||
|
||||
// api project(path: ':foudations:mogo-passport')
|
||||
api 'com.mogo.cloud:passport:1.0.2-SNAPSHOT'
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
GROUP=com.mogo.cloud
|
||||
POM_ARTIFACT_ID=commons
|
||||
VERSION_CODE=1
|
||||
VERSION_NAME=1.0.1-SNAPSHOT
|
||||
VERSION_NAME=1.0.2-SNAPSHOT
|
||||
@@ -33,9 +33,9 @@ dependencies {
|
||||
// passport
|
||||
implementation 'com.zhidao.thirdlogin:third-login:1.0.1'
|
||||
implementation 'com.zhidao.account:accountsdk:1.0.16.1'
|
||||
api project(path: ':foudations:mogo-httpdns')
|
||||
// api 'com.mogo.cloud:httpdns:1.0.0'
|
||||
|
||||
// api project(path: ':foudations:mogo-httpdns')
|
||||
api 'com.mogo.cloud:httpdns:1.0.0'
|
||||
}
|
||||
|
||||
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
|
||||
@@ -1,4 +1,4 @@
|
||||
GROUP=com.mogo.cloud
|
||||
POM_ARTIFACT_ID=passport
|
||||
VERSION_CODE=1
|
||||
VERSION_NAME=1.0.0-SNAPSHOT
|
||||
VERSION_NAME=1.0.2-SNAPSHOT
|
||||
@@ -30,8 +30,10 @@ dependencies {
|
||||
api 'com.zhidao.socket:built-in-socket:1.0.17'
|
||||
// 上报位置
|
||||
implementation 'com.zhidao.locupload:loc-upload-sdk:1.1.7'
|
||||
implementation project(path: ':foudations:mogo-passport')
|
||||
api rootProject.ext.dependencies.mogoutils
|
||||
|
||||
// implementation project(path: ':foudations:mogo-passport')
|
||||
implementation 'com.mogo.cloud:passport:1.0.2-SNAPSHOT'
|
||||
|
||||
}
|
||||
|
||||
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
|
||||
@@ -1,4 +1,4 @@
|
||||
GROUP=com.mogo.cloud
|
||||
POM_ARTIFACT_ID=socket
|
||||
VERSION_CODE=1
|
||||
VERSION_NAME=1.0.0
|
||||
VERSION_NAME=1.0.2-SNAPSHOT
|
||||
@@ -28,6 +28,10 @@ android {
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation project(path: ':foudations:mogo-passport')
|
||||
implementation project(":foudations:mogo-commons")
|
||||
implementation project(":foudations:mogo-socket")
|
||||
|
||||
// implementation project(":foudations:mogo-commons")
|
||||
implementation 'com.mogo.cloud:commons:1.0.2-SNAPSHOT'
|
||||
// implementation project(":foudations:mogo-socket")
|
||||
implementation 'com.mogo.cloud:socket:1.0.2-SNAPSHOT'
|
||||
|
||||
}
|
||||
4
modules/mogo-realtime/gradle.properties
Normal file
4
modules/mogo-realtime/gradle.properties
Normal file
@@ -0,0 +1,4 @@
|
||||
GROUP=com.mogo.cloud
|
||||
POM_ARTIFACT_ID=realtime
|
||||
VERSION_CODE=1
|
||||
VERSION_NAME=1.0.1-SNAPSHOT
|
||||
@@ -37,6 +37,10 @@ dependencies {
|
||||
|
||||
implementation rootProject.ext.dependencies.rxjava
|
||||
implementation rootProject.ext.dependencies.rxandroid
|
||||
implementation project(path: ':foudations:mogo-commons')
|
||||
|
||||
}
|
||||
// implementation project(path: ':foudations:mogo-commons')
|
||||
implementation 'com.mogo.cloud:commons:1.0.2-SNAPSHOT'
|
||||
|
||||
}
|
||||
|
||||
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
|
||||
@@ -1,4 +1,4 @@
|
||||
GROUP=com.mogo.cloud
|
||||
POM_ARTIFACT_ID=tanlu
|
||||
VERSION_CODE=1
|
||||
VERSION_NAME=1.0.0
|
||||
VERSION_NAME=1.0.1-SNAPSHOT
|
||||
Reference in New Issue
Block a user