2021-06-19 15:41:19 +00:00
|
|
|
buildscript {
|
2023-10-19 01:55:23 +00:00
|
|
|
ext.kotlin_version = '1.8.0'
|
2021-06-19 15:41:19 +00:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-10-19 01:55:23 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:7.4.2'
|
2021-06-19 15:41:19 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.buildDir = '../build'
|
|
|
|
subprojects {
|
|
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
|
|
project.evaluationDependsOn(':app')
|
|
|
|
}
|
|
|
|
|
2023-10-19 01:55:23 +00:00
|
|
|
tasks.register("clean", Delete) {
|
2021-06-19 15:41:19 +00:00
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|