54 lines
2.0 KiB
Groovy
54 lines
2.0 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion 31
|
|
buildToolsVersion "30.0.2"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 23
|
|
targetSdkVersion 31
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
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 "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation rootProject.ext.dependencies.androidxccorektx
|
|
implementation rootProject.ext.dependencies.androidxappcompat
|
|
implementation rootProject.ext.dependencies.material
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
implementation rootProject.ext.dependencies.amapnavi3dmap
|
|
|
|
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
|
implementation rootProject.ext.dependencies.mogoutils
|
|
implementation rootProject.ext.dependencies.mogocommons
|
|
implementation rootProject.ext.dependencies.modulecommon
|
|
implementation rootProject.ext.dependencies.mogo_core_data
|
|
implementation rootProject.ext.dependencies.mogo_core_function_call
|
|
implementation rootProject.ext.dependencies.mogo_core_function_v2x
|
|
}else {
|
|
implementation project(":core:mogo-core-utils")
|
|
implementation project(":foudations:mogo-commons")
|
|
implementation project(':modules:mogo-module-common')
|
|
implementation project(':core:mogo-core-data')
|
|
implementation project(':core:mogo-core-function-call')
|
|
implementation project(':core:function-impl:mogo-core-function-v2x')
|
|
}
|
|
|
|
} |