2019-11-24 17:48:40 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
ext.kotlin_version = '1.3.60'
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2019-12-12 17:50:54 +00:00
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2019-11-24 17:48:40 +00:00
|
|
|
}
|
2019-12-12 17:50:54 +00:00
|
|
|
|
2019-11-24 17:48:40 +00:00
|
|
|
dependencies {
|
|
|
|
classpath 'com.android.tools.build:gradle:3.5.2'
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2019-12-12 17:50:54 +00:00
|
|
|
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.2.2"
|
2019-11-24 17:48:40 +00:00
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
2019-12-13 14:08:01 +00:00
|
|
|
apply plugin: 'checkstyle'
|
|
|
|
|
2019-11-24 17:48:40 +00:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-30 10:51:09 +00:00
|
|
|
ext {
|
|
|
|
roomVersion = '2.2.2'
|
|
|
|
archLifecycleVersion = '2.2.0-rc02'
|
|
|
|
androidxArchVersion = '2.1.0'
|
|
|
|
coreTestingVersion = "2.1.0"
|
|
|
|
coroutines = '1.3.2'
|
|
|
|
materialVersion = "1.0.0"
|
|
|
|
}
|
|
|
|
|
2019-11-24 17:48:40 +00:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|