1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- apply plugin: 'com.android.library'
- apply plugin: 'com.huawei.agconnect'
- android {
- compileSdkVersion 27
- defaultConfig {
- minSdkVersion 14
- targetSdkVersion 25
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
- }
- debug {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
- }
- }
- sourceSets {
- main {
- manifest.srcFile 'AndroidManifest.xml'
- java.srcDirs = ['src']
- resources.srcDirs = ['src']
- aidl.srcDirs = ['src']
- renderscript.srcDirs = ['src']
- res.srcDirs = ['res']
- assets.srcDirs = ['assets']
- jniLibs.srcDirs = ['libs']
- }
- debug.setRoot('build-types/debug')
- release.setRoot('build-types/release')
- }
- android {
- lintOptions {
- abortOnError false
- }
- }
- }
- dependencies {
- api fileTree(include: ['*.jar'], dir: 'libs')
- }
|