2017-05-27 21:05:27 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2018-09-09 17:44:01 +00:00
|
|
|
ext {
|
2022-01-24 20:50:25 +00:00
|
|
|
kotlin_version = '1.6.10'
|
2018-10-12 18:51:36 +00:00
|
|
|
android_version = '1.0.0'
|
2019-05-12 19:17:45 +00:00
|
|
|
androidx_version = '1.1.0-alpha05'
|
2019-05-12 19:07:05 +00:00
|
|
|
lifecycle_version = '2.2.0-alpha01'
|
|
|
|
room_version = '2.1.0-beta01'
|
2019-05-12 19:17:45 +00:00
|
|
|
work_version = '1.0.1'
|
2018-09-09 17:44:01 +00:00
|
|
|
}
|
2017-05-27 21:05:27 +00:00
|
|
|
repositories {
|
2017-09-02 10:51:11 +00:00
|
|
|
google()
|
2018-10-12 20:50:43 +00:00
|
|
|
jcenter()
|
2021-10-27 14:47:50 +00:00
|
|
|
maven { url "https://www.jitpack.io" }
|
2017-05-27 21:05:27 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2022-01-24 20:50:25 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:7.0.4'
|
2017-05-27 21:05:27 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2018-10-12 20:50:43 +00:00
|
|
|
google()
|
2022-01-24 20:50:25 +00:00
|
|
|
mavenCentral()
|
2017-05-27 21:05:27 +00:00
|
|
|
jcenter()
|
2021-10-27 14:47:50 +00:00
|
|
|
maven { url "https://www.jitpack.io" }
|
2017-05-27 21:05:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|
2017-06-11 10:04:39 +00:00
|
|
|
|
2021-10-07 19:01:12 +00:00
|
|
|
project.ext.preDexLibs = !project.hasProperty('disablePreDex')
|