// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
ext {
|
kotlin_version = '1.3.72'
|
lifecycle_version = '1.1.1'
|
anko_version = '0.10.8'
|
event_bus = '3.1.1'
|
image_picker_version = '2.2.7'
|
glide_version = '4.9.0'
|
adaper_version = '2.9.46'
|
file_download_version = '1.0.7'
|
progressbar_version = '3.0.3'
|
|
}
|
|
repositories {
|
maven { url 'https://maven.aliyun.com/repository/public'}
|
maven { url 'https://maven.aliyun.com/repository/central' }
|
maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
maven { url "https://jitpack.io" }
|
mavenCentral()
|
google()
|
jcenter()
|
}
|
dependencies {
|
classpath 'com.android.tools.build:gradle:4.2.0'
|
classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
|
|
// NOTE: Do not place your application dependencies here; they belong
|
// in the individual module build.gradle files///////////////////////////////////////////////
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
|
|
// 添加emas-services插件
|
classpath 'com.aliyun.ams:emas-services:1.0.1'
|
|
// classpath "gradle.plugin.ua.eshepelyuk:ManifestClasspath:1.0.0"
|
}
|
}
|
|
//apply plugin: "ua.eshepelyuk.ManifestClasspath"
|
|
allprojects {
|
repositories {
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
maven { url 'https://maven.aliyun.com/repository/central' }
|
maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
maven { url "https://jitpack.io" }
|
mavenCentral()
|
google()
|
jcenter()
|
}
|
|
// configurations.all {
|
// resolutionStrategy {
|
// eachDependency { DependencyResolveDetails details ->
|
// if (details.requested.group == 'com.android.support') {
|
// details.useVersion "26.1.0"
|
// }
|
// }
|
// }}
|
}
|
|
task clean(type: Delete) {
|
delete rootProject.buildDir
|
}
|