2020-08-02 13:34:42 +02:00
|
|
|
buildscript {
|
2022-04-30 15:44:03 +02:00
|
|
|
ext.kotlin_version = '1.5.31'
|
2020-08-02 13:34:42 +02:00
|
|
|
repositories {
|
|
|
|
google()
|
2021-10-19 18:26:21 +02:00
|
|
|
mavenCentral()
|
2020-08-02 13:34:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-10-19 18:26:21 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:7.0.2'
|
2020-08-02 13:34:42 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2021-10-19 18:26:21 +02:00
|
|
|
mavenCentral()
|
2020-08-02 13:34:42 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.buildDir = '../build'
|
|
|
|
subprojects {
|
|
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
|
|
project.evaluationDependsOn(':app')
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|