38 lines
1.1 KiB
Groovy
38 lines
1.1 KiB
Groovy
/*
|
|
* Copyright (C) 2017 Baidu, Inc. All Rights Reserved.
|
|
*/
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
|
|
// compileSdkVersion 27
|
|
// buildToolsVersion "27.0.2"
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.android["minSdkVersion"]
|
|
targetSdkVersion rootProject.ext.android["targetSdkVersion"]
|
|
versionCode rootProject.ext.android["versionCode"]
|
|
versionName rootProject.ext.android["versionName"]
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.0'
|
|
// implementation 'com.android.support:appcompat-v7:27.1.1'
|
|
testImplementation 'junit:junit:4.12'
|
|
implementation files('libs/license.jar')
|
|
}
|