apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' apply plugin: 'android-aspectjx' android { compileSdkVersion 29 buildToolsVersion "29.0.2" defaultConfig { minSdkVersion 19 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles 'consumer-rules.pro' } buildTypes { release { minifyEnabled false zipAlignEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation rootProject.ext.dependencies.kotlinstdlibjdk7 implementation rootProject.ext.dependencies.androidxappcompat implementation rootProject.ext.dependencies.androidxccorektx implementation rootProject.ext.dependencies.aiassist implementation 'com.squareup.okhttp3:okhttp:3.10.0' implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0' implementation 'com.zhidaoauto.controller:api:1.0.8' implementation 'com.zhidao.cosupload:cosuploadsdk:1.1.6', { exclude group: 'com.zhidao.utils', module: 'utils' } implementation 'com.zhidao.video:video-processor:1.0.2.1' implementation 'com.foundation.utils:common-utils:1.0.7' implementation rootProject.ext.dependencies.eventbus implementation rootProject.ext.dependencies.coroutinescore implementation rootProject.ext.dependencies.coroutinesandroid implementation rootProject.ext.dependencies.retrofit implementation rootProject.ext.dependencies.retrofitconvertergson implementation rootProject.ext.dependencies.gson implementation rootProject.ext.dependencies.rxjava implementation rootProject.ext.dependencies.rxandroid implementation rootProject.ext.dependencies.aspectj implementation rootProject.ext.dependencies.analytics if (Boolean.valueOf(RELEASE)) { compileOnly rootProject.ext.dependencies.mogocommons compileOnly rootProject.ext.dependencies.mogomap } else { implementation project(':modules:mogo-module-common') implementation project(':libraries:mogo-map') } } apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()