build.gradle 1.85 KB
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:3.5.0"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven {
            url maven.mavenMixedUrl
            credentials { username = nexusId;password = nexusPw }
        }

        maven {
            url "https://jitpack.io"
        }
        maven {
            url 'https://dl.bintray.com/granzon/cnlive'
        }
        maven {
            url 'https://dl.bintray.com/granzon/cnliveLibs'
        }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

ext {
    supportV4 = '27.1.0'
    appcompatV7 = '27.1.0'
    recyclerviewV7 = '27.1.0'
    constraintLayout = '1.1.2'
    //androidX
    androidXAppcompat = '1.0.0'
    androidXRecyclerview = '1.0.0'
    androidXConstraintlayout = '1.1.3'

    androidX_legacy_support_v4 = '1.0.0'

    glide = '4.11.0'
    glideTransformations = '4.1.0'
    compiler = '4.11.0'

    easypermissions = '1.0.0'
    rotatephotoview = '1.0.5'

    libCnUtil = '3.1.0'
    libCnVideo = '3.2.3'

    qmui = '1.1.5'

    libLargeImage = '1.0.4-androidx'
    libBase = '2.0.0.1'
    libVideoQiniu = '1.0.7.2'

    //阿里路由框架
    arouterApiVersion = '1.5.0'
    arouterCompilerVersion = '1.2.1'
    libNewMediaPicker = '1.0.2.7'
    qmui = '1.1.5'
    libEmoj = '2.2.3.6-androidx'
    location = 'latest.integration'

    appArch = '1.3.6.5-androidx'
    //视频库
    libVideoQiniu = '1.0.7-androidx'
    //七牛
    qiniuAndroidSdk = '7.4.3'
    //greendao
    greendao = '3.3.0'

}