build.gradle 1.68 KB
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
        classpath "com.alibaba:arouter-register:1.0.2"
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven{url "https://hanya.bintray.com/cnliveMaven"}
        maven{url 'https://dl.bintray.com/granzon/cnliveLibs'}
    }
}

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

ext {
    compileSdkVersion = 27
    buildToolsVersion = "27.0.3"
    minSdkVersion = 16
    targetSdkVersion = 27
    //support 相关
    supportV4 = '27.1.0'
    appcompatV7 = '27.1.0'
    design = '27.1.0'
    supportV13 = '27.1.0'
    recyclerviewV7 = '27.1.0'
    cardviewV7 = '27.1.0'

    //GSON
    gson = '2.8.2'

    //eventbus
    eventbus = '3.1.1'

    //视讯云相关
    libCnUtil = '3.0.5'
    libCnencipher = '1.1.1'

    //qmui
    qmui = '1.1.5'

    //SmartRefresh
    SmartRefreshLayout = '1.1.0-alpha-1'
    SmartRefreshHeader = '1.1.0-alpha-1'

    //retrofit2
    retrofit = '2.3.0'
    converterGson = '2.3.0'
    adapterRxjava2 = '2.3.0'

    //okhttp3
    okhttp = '3.8.1'
    loggingInterceptor = '3.8.1'

    //glide
    glide = '4.5.0'
    glideTransformations = '3.0.1'
    compiler = '4.5.0'

    recyclerviewAnimators = '2.2.6'

    //基础库
    libBase = '1.0.4'
    libNetwork = '1.0.11'
    libEmoj = '1.1.2'
    libMenu = '1.0.2'
    appArch = '1.0.0'

    //阿里路由框架
    arouterApiVersion = '1.4.0'
    arouterCompilerVersion = '1.2.1'
    apparch = '1.0.0'
    happychina = '1.0.3'

}