apply plugin: 'com.android.library' android { compileSdkVersion 25 buildToolsVersion '28.0.3' defaultConfig { minSdkVersion 15 targetSdkVersion 22 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } repositories { mavenCentral() maven { url 'https://maven.google.com' } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'pub.devrel:easypermissions:0.2.0' compile 'com.google.code.gson:gson:2.2.4' compile 'com.github.bumptech.glide:glide:4.1.1' compile 'com.google.zxing:core:+' compile 'com.google.zxing:android-core:+' compile 'com.blankj:utilcode:1.9.8' compile 'com.zhy:okhttputils:2.4.1' compile 'com.alibaba:fastjson:1.1.64.android' compile 'org.zackratos:ultimatebar:1.1.1' }