[Upload]
创建adas模块,将lib-adas-high合并进来 Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
1
libraries/mogo-adas/.gitignore
vendored
Normal file
1
libraries/mogo-adas/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/build
|
||||
2
libraries/mogo-adas/README.md
Normal file
2
libraries/mogo-adas/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
#### 说明
|
||||
这里所提供的功能都是通过 ARouter 使用依赖查找的方式发现服务,主动去发现服务并使用
|
||||
63
libraries/mogo-adas/build.gradle
Normal file
63
libraries/mogo-adas/build.gradle
Normal file
@@ -0,0 +1,63 @@
|
||||
plugins {
|
||||
id 'com.android.library'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-android-extensions'
|
||||
id 'kotlin-kapt'
|
||||
id 'com.alibaba.arouter'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
||||
// buildToolsVersion rootProject.ext.android.buildToolsVersion
|
||||
defaultConfig {
|
||||
minSdkVersion rootProject.ext.android.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
||||
versionCode Integer.valueOf(VERSION_CODE)
|
||||
versionName getValueFromRootProperties("${project.name.replace("-", "_").toUpperCase()}_VERSION")
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles 'consumer-rules.pro'
|
||||
|
||||
//ARouter apt 参数
|
||||
kapt {
|
||||
useBuildCache = false
|
||||
arguments {
|
||||
arg("AROUTER_MODULE_NAME", project.getName())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
|
||||
implementation rootProject.ext.dependencies.arouter
|
||||
kapt rootProject.ext.dependencies.aroutercompiler
|
||||
|
||||
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
||||
implementation rootProject.ext.dependencies.mogo_core_utils
|
||||
implementation rootProject.ext.dependencies.mogomapapi
|
||||
api rootProject.ext.dependencies.mapautomap
|
||||
implementation rootProject.ext.dependencies.mogocommons
|
||||
|
||||
implementation rootProject.ext.dependencies.mogo_core_data
|
||||
|
||||
} else {
|
||||
implementation project(':core:mogo-core-utils')
|
||||
implementation project(':libraries:mogo-map-api')
|
||||
api project(':libraries:map-autonavi')
|
||||
implementation project(':foudations:mogo-commons')
|
||||
|
||||
implementation project(':core:mogo-core-data')
|
||||
}
|
||||
}
|
||||
|
||||
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
|
||||
0
libraries/mogo-adas/consumer-rules.pro
Normal file
0
libraries/mogo-adas/consumer-rules.pro
Normal file
3
libraries/mogo-adas/gradle.properties
Normal file
3
libraries/mogo-adas/gradle.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
GROUP=com.mogo.adas
|
||||
POM_ARTIFACT_ID=mogo-adas
|
||||
VERSION_CODE=1
|
||||
26
libraries/mogo-adas/proguard-rules.pro
vendored
Normal file
26
libraries/mogo-adas/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
#-----MogoMap-----
|
||||
-keep class com.mogo.map.MogoNavi{
|
||||
private <init>();
|
||||
}
|
||||
5
libraries/mogo-adas/src/main/AndroidManifest.xml
Normal file
5
libraries/mogo-adas/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.mogo.adas">
|
||||
|
||||
|
||||
</manifest>
|
||||
0
libraries/mogo-adas/src/main/java/com/mogo/adas/占位
Normal file
0
libraries/mogo-adas/src/main/java/com/mogo/adas/占位
Normal file
3
libraries/mogo-adas/src/main/res/values/strings.xml
Normal file
3
libraries/mogo-adas/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<resources>
|
||||
<string name="app_name">mogo-adas</string>
|
||||
</resources>
|
||||
@@ -17,6 +17,7 @@
|
||||
:libraries:map-autonavi
|
||||
:libraries:map-custom
|
||||
:libraries:mogo-map
|
||||
:libraries:mogo-adas
|
||||
:modules:mogo-module-carchattingprovider
|
||||
:modules:mogo-module-common
|
||||
:modules:mogo-module-chat
|
||||
|
||||
@@ -55,6 +55,7 @@ include ':libraries:map-custom'
|
||||
include ':libraries:mogo-map-api'
|
||||
include ':libraries:map-autonavi'
|
||||
include ':libraries:mogo-map'
|
||||
include ':libraries:mogo-adas'
|
||||
|
||||
// OLD业务模块
|
||||
include ':modules:mogo-module-adas'
|
||||
|
||||
Reference in New Issue
Block a user