// 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.2.0' classpath 'org.greenrobot:greendao-gradle-plugin:3.2.0' classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1' classpath 'com.github.jokar:multi-languages.plugin:0.0.8' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() jcenter() mavenCentral() // maven { url "https://maven.google.com" } maven { url "https://www.jitpack.io" } maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'} maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' } maven { url 'http://maven.aliyun.com/nexus/content/groups/public/'} maven { url 'http://developer.huawei.com/repo/'} // maven { url "https://dl.bintray.com/rongcloud/maven"} maven { url "http://maven.rongcloud.cn/repository/maven-releases/"} maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } maven { url 'https://maven.aliyun.com/repository/public' } maven { credentials { username 'pi2gXR' password 'P0OAhyl2kn' } url 'https://repo.rdc.aliyun.com/repository/103033-release-ihyXwu/' } maven { url 'https://dl.bintray.com/umsdk/release' } flatDir { dirs 'libs' dirs project(':app').file('libs') } } subprojects { afterEvaluate { project -> if (project.hasProperty("android")) { android { compileSdkVersion = rootProject.compileSdkVersion buildToolsVersion = rootProject.buildToolsVersion } } } } } task clean(type: Delete) { delete rootProject.buildDir } ext { // Sdk and tools targetSdkVersion = 28 compileSdkVersion = 29 buildToolsVersion = '28.0.3' minSdkVersion = 21 androidxVersion = '1.2.0' androidxConstraintVersion = '2.0.0' // Google Support supportLibraryVersion = '28.0.0' //OK http okhttpVersion = '3.11.0' okioVersion = '1.14.0' loggingInterceptor = "3.4.1" //glide glideVersion = '4.12.0' //butterknife butterknifeVersion = "10.0.0" //gson converterGson = "2.5.0" //greendao greendaoVersion = "3.2.2" greendaoHelperVersion = "1.3.0" //constraintLayout constraintLayoutVersion = "1.1.3" //SmartRefreshLayout SmartRefreshLayoutVersion = "1.1.0" //Dialog sweetalertVersion = "1.3" //eventbus eventbusVersion = "3.1.1" //zxing zxingVersion = "3.3.3" //retrofit retrofit2Version = "2.5.0" converterScalars = "2.1.0" adapter2Rxjava = "2.5.0" //rxjava rxAndroid2Version = "2.1.1" rxjava2Version = "2.2.10" rxpermissions = "0.9.5" rxlifecycle = "2.2.1" //ultimatebar ultimatebarVersion = "1.0.3" }