47 lines
1.4 KiB
Groovy
47 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'com.alibaba.arouter'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.2"
|
|
|
|
|
|
defaultConfig {
|
|
minSdkVersion 19
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
arguments = [AROUTER_MODULE_NAME: project.getName()]
|
|
}
|
|
}
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
}
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation project(":libraries:mogo-map")
|
|
implementation project(":libraries:mogo-map-api")
|
|
implementation project(":foudations:mogo-utils")
|
|
api project(":foudations:mogo-commons")
|
|
api project(':services:mogo-service-api')
|
|
implementation project(':modules:mogo-module-common')
|
|
implementation rootProject.ext.dependencies.androidxappcompat
|
|
implementation rootProject.ext.dependencies.androidxconstraintlayout
|
|
implementation rootProject.ext.dependencies.arouter
|
|
annotationProcessor rootProject.ext.dependencies.aroutercompiler
|
|
}
|