apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "${package}"
        minSdkVersion 23
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    android.applicationVariants.all { variant ->
        variant.outputs.all {
            outputFileName = rootProject.getName() + "-v" + defaultConfig.versionName  + ".apk"
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    //QMUI
    implementation 'com.qmuiteam:qmui:1.1.3'
    implementation "com.qmuiteam:arch:0.1.4"
    //依赖注入框架
    implementation 'com.jakewharton:butterknife:8.8.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
    //拍照，相册
    implementation 'com.jph.takephoto:takephoto_library:4.0.3'
    //图片查看
    implementation 'com.github.chrisbanes:PhotoView:1.2.6'
    //权限申请框架
    implementation 'com.yanzhenjie:permission:2.0.0-rc12'
<#if qrcode>
    //二维码
    implementation 'com.google.zxing:core:3.3.2'
    implementation'com.journeyapps:zxing-android-embedded:3.6.0'
</#if>
<#if fileselect>
    //文件选择
    implementation 'com.leon:lfilepickerlibrary:1.7.0'
</#if>
    //Picker
    implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelPicker:1.5.6'
}
