mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-12 21:06:43 +02:00
26 lines
657 B
Plaintext
26 lines
657 B
Plaintext
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven {
|
|
// [required] background_fetch
|
|
url = uri("${project(":background_fetch").projectDir}/libs")
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
}
|