mirror of
https://codeberg.org/mi6e4ka/openstore.git
synced 2025-06-28 20:19:58 +00:00
22 lines
515 B
Text
22 lines
515 B
Text
|
allprojects {
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
|
||
|
rootProject.layout.buildDirectory.value(newBuildDir)
|
||
|
|
||
|
subprojects {
|
||
|
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
|
||
|
project.layout.buildDirectory.value(newSubprojectBuildDir)
|
||
|
}
|
||
|
subprojects {
|
||
|
project.evaluationDependsOn(":app")
|
||
|
}
|
||
|
|
||
|
tasks.register<Delete>("clean") {
|
||
|
delete(rootProject.layout.buildDirectory)
|
||
|
}
|