apply plugin: 'com.android.application' //apply plugin: 'android-apt' apply plugin: 'com.jakewharton.butterknife' android { compileSdkVersion 26 buildToolsVersion "26.0.0" defaultConfig { applicationId "com.qhclh.ytzh" minSdkVersion 15 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } aaptOptions.cruncherEnabled = false //禁止检查图片的合理性 aaptOptions.useNewCruncher = false buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } 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 project(':jsonrpc') ///< 图表工具 ///< 时间选择器 compile 'com.android.support:appcompat-v7:26.+' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.android.support:support-v4:26.0.0-alpha1' compile 'com.android.support:design:26.0.0-alpha1' compile 'org.greenrobot:eventbus:3.0.0' compile 'com.umeng.analytics:analytics:latest.integration' compile 'pub.devrel:easypermissions:0.2.1' compile 'com.google.code.gson:gson:2.8.1' compile 'org.litepal.android:core:1.3.0' compile 'com.journeyapps:zxing-android-embedded:3.5.0' compile 'com.google.zxing:core:3.3.0' compile 'com.youth.banner:banner:1.4.10' compile 'com.android.support:cardview-v7:26.0.0-alpha1' compile 'com.github.lecho:hellocharts-library:1.5.8@aar' compile 'com.prolificinteractive:material-calendarview:1.4.0' compile 'com.android.support.constraint:constraint-layout:1.0.2' testCompile 'junit:junit:4.12' //相册选择 compile 'com.github.YancyYe:GalleryPick:1.2.1' compile 'com.jakewharton:butterknife:8.5.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1' }