Files
Melo/android/build.gradle.kts
Hermes (Server)andClaude Haiku 4.5 06be0a7065 feat(navidrome): Musikserver-Integration (Subsonic API)
- NavidromeService mit Credential-Verwaltung (secure storage)
- Navidrome-Settings in Settings-Tab: Login/Logout für Server-Verbindung
- Dependencies hinzugefügt: http, crypto, shared_preferences, flutter_secure_storage
- Tests: 70/70 grün
- Analyzer:  keine Fehler

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJzQjUtnvYUtHdnTs3iCru
2026-08-19 07:21:32 +02:00

41 lines
1.4 KiB
Kotlin

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()
}
// on_audio_query_android kompiliert gegen SDK 33, seine AndroidX-
// Abhängigkeiten (fragment, window, ...) verlangen aber mindestens 34.
// Zu niedrige Library-Module auf 36 anheben (echtes SDK, nicht die 37-Kopie).
val libCompileSdk = androidExt?.compileSdkVersion?.removePrefix("android-")?.toIntOrNull()
if (libCompileSdk != null && libCompileSdk < 34) {
androidExt.compileSdkVersion(36)
}
}
}
subprojects {
project.evaluationDependsOn(":app")
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}