123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- plugins {
- id 'com.android.library'
- }
- android {
- compileSdkVersion COMPILE_SDK_VERSION
- buildToolsVersion BUILD_TOOLS_VERSION
- defaultConfig {
- minSdkVersion MIN_SDK_VERSION
- targetSdkVersion TARGET_SDK_VERSION
- }
- buildTypes {
- release {
- minifyEnabled MINIFY_ENABLE
- 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 {
- compileOnly files('../libs/oaid_sdk_1.0.25.jar')
- compileOnly files('../libs/android-support-v4.jar')
- }
- apply from: 'buildJar.gradle'
|