apply plugin: 'com.android.library' apply plugin: 'com.jakewharton.butterknife' android { compileSdkVersion 25 defaultConfig { minSdkVersion 19 targetSdkVersion 25 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.android.support:appcompat-v7:25+' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' compile 'com.android.support.constraint:constraint-layout:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' compile project(':laraver-annotations') //字体图标库 compile 'com.joanzapata.iconify:android-iconify-ionicons:2.2.2' // (v2.0.1) compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.2.2' // (v4.5) //Fragment依赖 compile 'me.yokeyword:fragmentation:1.0.3' compile 'me.yokeyword:fragmentation-swipeback:1.0.3' //黄油刀 compile 'com.jakewharton:butterknife:8.4.0' annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0' //网络请求依赖 compile 'com.squareup.okio:okio:1.13.0' compile 'com.squareup.okhttp3:okhttp:3.8.1' compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:converter-scalars:2.3.0' //Loader依赖 compile 'com.wang.avi:library:2.1.3' //图片剪裁 compile 'com.github.yalantis:ucrop:2.2.1-native' //二维码扫描 compile 'me.dm7.barcodescanner:zbar:1.9.3' }