mirror of
https://github.com/project-dorado/dorado-hd.git
synced 2026-10-12 02:21:19 +00:00
Initial build implementing phases 0-6: - AGP 9 built-in Kotlin toolchain (KGP 2.4.20), Media3/ExoPlayer, Room, Coil3 - Zune HD design system: edge-crop typography, cropped-header back nav, 480x272 device-mode canvas + adaptive reflow, decelerating motion - Home menu + Quickplay (now playing / pins / history / new) - Crossbar library (albums, artists, playlists, songs, genres) with alphabet rail - Now Playing: swipe-to-skip, transport overlay, swipe volume, tri-state heart rating, idle screensaver over artist photography (MBID-keyed) - Accent themes, palette wash, context menus, playlists - Unit tests incl. design-invariant audit; Selawik (OFL) stand-in font
23 lines
746 B
Kotlin
23 lines
746 B
Kotlin
// Root build file. AGP 9+ provides built-in Kotlin support —
|
|
// the org.jetbrains.kotlin.android plugin must NOT be applied.
|
|
//
|
|
// Built-in Kotlin ships KGP 2.2.10; 2026-era androidx libraries pull
|
|
// kotlin-stdlib 2.4.x whose metadata the 2.2.0 compiler cannot read.
|
|
// Per the official guidance, force the newer KGP on the buildscript
|
|
// classpath (upgrades only) so the whole toolchain aligns on 2.4.20.
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.4.20")
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
alias(libs.plugins.android.application) apply false
|
|
alias(libs.plugins.kotlin.compose) apply false
|
|
alias(libs.plugins.ksp) apply false
|
|
}
|