1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 25
- buildToolsVersion "26.0.0"
- defaultConfig {
- minSdkVersion 15
- targetSdkVersion 25
- versionCode 1
- versionName "1.0"
- multiDexEnabled true
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- packagingOptions {
- //打包时的相关配置
- exclude 'META-INF/DEPENDENCIES'
- exclude 'META-INF/NOTICE'
- exclude 'META-INF/LICENSE'
- exclude 'META-INF/LICENSE.txt'
- exclude 'META-INF/NOTICE.txt'
- }
- dexOptions {
- javaMaxHeapSize "4g"
- }
- }
- repositories {
- mavenCentral()
- flatDir {
- dirs 'libs'
- }
- }
- dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- compile 'com.android.support:appcompat-v7:25.3.1'
- testCompile 'junit:junit:4.12'
- compile(name: 'peb-lib', ext: 'aar')
- compile 'com.android.support:cardview-v7:25.3.1'
- compile 'com.android.support:recyclerview-v7:25.3.1'
- compile 'com.squareup.picasso:picasso:2.4.0'
- compile 'com.squareup.okhttp:okhttp:2.4.0'
- compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'
- compile 'com.github.bumptech.glide:glide:3.5.2'
- compile 'com.squareup.retrofit2:retrofit:2.3.0'
- compile 'com.squareup.retrofit2:converter-gson:2.3.0'
- compile 'com.google.android.gms:play-services-auth:8.3.0'
- compile files('libs/AllPaySDK.jar')
- }
|