1234567891011121314151617181920212223242526272829303132333435363738 |
- 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
- }
- //api23以上使用 httpClient
- useLibrary 'org.apache.http.legacy'
- }
- dependencies {
- implementation rootProject.ext.other['cronet']
- implementation rootProject.ext.ktx['core']
- }
- apply from: 'buildJar.gradle'
|