58 lines
1.5 KiB
Groovy
58 lines
1.5 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
import org.lemiesz.buildsrc.Dep
|
|
import org.lemiesz.buildsrc.Versions
|
|
|
|
buildscript {
|
|
ext {
|
|
nav_version = "2.3.2"
|
|
|
|
// App dependencies
|
|
androidXVersion = '1.0.0'
|
|
androidXTestCoreVersion = '1.3.0'
|
|
androidXTestRulesVersion = '1.2.0-beta01'
|
|
androidXAnnotations = '1.0.1'
|
|
androidXLegacySupport = '1.0.0'
|
|
archLifecycleVersion = '2.2.0-alpha01'
|
|
cardVersion = '1.0.0'
|
|
dexMakerVersion = '2.12.1'
|
|
espressoVersion = '3.2.0-beta01'
|
|
fragmentKtxVersion = '1.1.0-rc01'
|
|
hamcrestVersion = '1.3'
|
|
materialVersion = '1.0.0'
|
|
navigationVersion = '2.3.5'
|
|
recyclerViewVersion = '1.0.0'
|
|
rulesVersion = '1.0.1'
|
|
timberVersion = '4.7.1'
|
|
truthVersion = '0.44'
|
|
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
//jcenter()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.1.0-alpha04'
|
|
classpath Dep.Kotlin.gradlePlugin
|
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
//jcenter()
|
|
mavenCentral()
|
|
}
|
|
//buildDir = "/home/ali0/Projekty/.cache/${rootProject.name}/${project.name}"
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
|