Initial commit

This commit is contained in:
Dustin-Mike Jens Hähnel
2026-08-16 18:46:06 +02:00
commit b5ab7bd9dd
126 changed files with 7952 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
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)
// Workaround: ältere Plugins (z. B. on_audio_query_android) deklarieren
// keinen namespace, den AGP 8+ verlangt. Aus der group ableiten.
// Muss vor evaluationDependsOn registriert werden (sonst schon evaluiert).
afterEvaluate {
val androidExt = extensions.findByName("android") as? com.android.build.gradle.BaseExtension
if (androidExt != null && androidExt.namespace == null) {
androidExt.namespace = project.group.toString()
}
}
}
subprojects {
project.evaluationDependsOn(":app")
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}