apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' apply from: "../maven_push.gradle" android { compileSdkVersion 28 defaultConfig { minSdkVersion 21 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility = '1.8' targetCompatibility = '1.8' } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.2.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' implementation 'com.volcengine:apm_insight:1.4.6.cn' api rootProject.ext.dependencies["gson"] api rootProject.ext.dependencies["aliyun"] api rootProject.ext.dependencies["rxjava2"] api(rootProject.ext.dependencies["rxandroid2"]) { exclude module: 'rxjava' } api rootProject.ext.dependencies["retrofit"] api rootProject.ext.dependencies["okhttp3-logging"] api rootProject.ext.dependencies["retrofit-converter-gson"] api rootProject.ext.dependencies["retrofit-converter-scalars"] api rootProject.ext.dependencies["retrofit-adapter-rxjava2"] }