| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- ext.kotlin_version = "1.3.21"
- repositories {
- google()
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
- maven { url 'https://maven.aliyun.com/repository/public/' }
- maven { url 'https://maven.aliyun.com/repository/google/' }
- maven { url 'https://maven.aliyun.com/repository/jcenter/' }
- maven { url 'https://maven.aliyun.com/repository/central/' }
- maven { url 'https://dl.google.com/dl/android/maven2/' }
- jcenter()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.4.0'
- classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
- classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0'
- }
- }
- allprojects {
- repositories {
- google()
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
- maven { url 'https://maven.aliyun.com/repository/public/' }
- maven { url 'https://maven.aliyun.com/repository/google/' }
- maven { url 'https://maven.aliyun.com/repository/jcenter/' }
- maven { url 'https://maven.aliyun.com/repository/central/' }
- maven { url 'https://gitee.com/liuchaoya/libcommon/raw/master/repository/' }
- maven { url "https://jitpack.io" }
- maven { url 'https://dl.google.com/dl/android/maven2/' }
- jcenter()
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
- ext {
- supportLibVersion = '27.1.1' // variable that can be referenced to keep support libs consistent
- commonLibVersion = '2.12.4'
- versionBuildTool = '26.0.2'
- versionCompiler = 26
- versionTarget = 26
- versionNameString = '1.0.0'
- javaSourceCompatibility = JavaVersion.VERSION_1_8
- javaTargetCompatibility = JavaVersion.VERSION_1_8
- }
|