apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'com.alibaba.arouter' apply plugin: 'android-aspectjx' android { compileSdkVersion rootProject.ext.android.compileSdkVersion 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' javaCompileOptions { annotationProcessorOptions { arguments = [AROUTER_MODULE_NAME: project.getName()] } } ndk { abiFilters "armeabi", "armeabi-v7a", "arm64-v8a" } } buildTypes { release { minifyEnabled true zipAlignEnabled true consumerProguardFiles 'consumer-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.tencent.liteavsdk:LiteAVSDK_Smart:7.2.8927' implementation 'ch.hsr:geohash:1.4.0' implementation rootProject.ext.dependencies.flexbox compileOnly rootProject.ext.dependencies.kotlinstdlibjdk7 compileOnly rootProject.ext.dependencies.androidxccorektx compileOnly rootProject.ext.dependencies.androidxrecyclerview compileOnly rootProject.ext.dependencies.mogomap compileOnly rootProject.ext.dependencies.mogoutils compileOnly rootProject.ext.dependencies.mogocommons compileOnly rootProject.ext.dependencies.mogoservice compileOnly rootProject.ext.dependencies.mogoserviceapi compileOnly rootProject.ext.dependencies.modulecommon compileOnly rootProject.ext.dependencies.moduleservice compileOnly rootProject.ext.dependencies.androidxappcompat compileOnly rootProject.ext.dependencies.androidxconstraintlayout compileOnly rootProject.ext.dependencies.arouter compileOnly rootProject.ext.dependencies.carcallprovider compileOnly rootProject.ext.dependencies.carcall annotationProcessor rootProject.ext.dependencies.aroutercompiler testImplementation 'junit:junit:4.13' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' } apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()