47 lines
1.2 KiB
Groovy
47 lines
1.2 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.31'
|
|
ext.kotlin_coroutine = '1.1.0'
|
|
ext.compat_version = '28.0.0'
|
|
ext.anko_version = '0.10.8'
|
|
ext.sdk_compile = 28
|
|
ext.sdk_tools = '28.0.3'
|
|
ext.test = "1.0.2"
|
|
ext.espresso = "3.0.2"
|
|
//ext.guava_version = '23.0'
|
|
ext.multidex = '1.0.3'
|
|
ext.unit = '5.0.0'
|
|
ext.uiautomator = '2.1.3'
|
|
|
|
ext.java_version = JavaVersion.VERSION_1_8
|
|
ext.jvm_target = "1.6"
|
|
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.4.0'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
|
|
allprojects {
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
//buildDir = "/home/ali0/AndroidStudioProjects/_build/build_project/${rootProject.name}/${project.name}"
|
|
}
|
|
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|