36 lines
896 B
Groovy
36 lines
896 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext {
|
|
kotlin_version = '1.5.31'
|
|
android_version = '1.0.0'
|
|
androidx_version = '1.1.0-alpha05'
|
|
lifecycle_version = '2.2.0-alpha01'
|
|
room_version = '2.1.0-beta01'
|
|
work_version = '1.0.1'
|
|
}
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven { url "https://www.jitpack.io" }
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.0.3'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven { url "https://www.jitpack.io" }
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
|
|
project.ext.preDexLibs = !project.hasProperty('disablePreDex') |