build.gradle 1.92 KB
apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.3"

    defaultConfig {
        applicationId "com.cnlive.out_shared"
        minSdkVersion 19
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        multiDexEnabled true
        javaCompileOptions {buildToolsVersion
            annotationProcessorOptions {
                arguments = [AROUTER_MODULE_NAME: project.getName(), AROUTER_GENERATE_DOC: "enable"]
            }
        }
    }

    buildTypes {

    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

dependencies {
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation "androidx.legacy:legacy-support-v4:$rootProject.androidX_legacy_support_v4"
    implementation "androidx.appcompat:appcompat:$rootProject.androidXAppcompat"
    implementation "androidx.recyclerview:recyclerview:$rootProject.androidXRecyclerview"
    implementation "androidx.constraintlayout:constraintlayout:$rootProject.androidXConstraintlayout"
    implementation 'androidx.multidex:multidex:2.0.0'
    //glide
    implementation "com.github.bumptech.glide:glide:$rootProject.glide"
    implementation "jp.wasabeef:glide-transformations:$rootProject.glideTransformations"
    implementation project(path: ':OutSide_Share')
    annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.compiler"

    implementation "pub.devrel:easypermissions:$rootProject.easypermissions"
    implementation "com.chensl.rotatephotoview:rotatephotoview:$rootProject.rotatephotoview"
    implementation "com.qmuiteam:qmui:$rootProject.qmui"

   // implementation "com.cnlive.libs:base:$rootProject.libBase"
    //ARouter
    implementation "com.alibaba:arouter-api:$rootProject.arouterApiVersion"
    annotationProcessor "com.alibaba:arouter-compiler:$rootProject.arouterCompilerVersion"
}