123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- plugins {
- id 'com.android.library'
- }
- android {
- compileSdkVersion rootProject.ext.android.compileSdkVersion
- buildToolsVersion rootProject.ext.android.buildToolsVersion
- defaultConfig {
- minSdkVersion rootProject.ext.android.minSdkVersion
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles 'proguard-rules.pro'
- }
- }
- buildFeatures {
- buildConfig = false
- }
- lintOptions {
- abortOnError false
- }
- repositories {
- flatDir {
- dirs 'libs'
- }
- }
- dexOptions {
- preDexLibraries = false
- }
- //api23以上使用 httpClient
- useLibrary 'org.apache.http.legacy'
- }
- dependencies {
- implementation rootProject.ext.other['cronet']
- implementation rootProject.ext.ktx['core']
- }
- apply from: 'buildJar.gradle'
|