@@ -12,6 +12,7 @@ plugins {
1212 id(" androidx.baselineprofile" )
1313 kotlin(" android" )
1414 kotlin(" plugin.parcelize" )
15+ kotlin(" plugin.compose" )
1516 id(" com.mikepenz.aboutlibraries.plugin" )
1617}
1718
@@ -52,6 +53,7 @@ android {
5253 buildFeatures {
5354 buildConfig = true
5455 prefab = true
56+ compose = true
5557 }
5658
5759 packaging {
@@ -241,18 +243,26 @@ aboutLibraries {
241243
242244dependencies {
243245 implementation(project(" :hificore" ))
244- val media3Version = " 1.6.1"
245- implementation(" androidx.activity:activity-ktx:1.10.1" )
246+ val composeBom = platform(" androidx.compose:compose-bom:2025.05.00" )
247+ implementation(composeBom)
248+ androidTestImplementation(composeBom)
249+ implementation(" androidx.compose.material:material-icons-extended" )
250+ implementation(" androidx.compose.material3:material3" )
251+ implementation(" androidx.compose.material3.adaptive:adaptive" )
252+ implementation(" androidx.compose.ui:ui-tooling-preview" )
253+ debugImplementation(" androidx.compose.ui:ui-tooling" )
254+ implementation(" androidx.activity:activity-compose:1.10.1" )
246255 implementation(" androidx.appcompat:appcompat:1.7.0" )
247256 implementation(" androidx.collection:collection-ktx:1.5.0" )
248257 implementation(" androidx.concurrent:concurrent-futures-ktx:1.2.0" )
249258 implementation(" androidx.constraintlayout:constraintlayout:2.2.1" )
250259 implementation(" androidx.core:core-ktx:1.16.0" )
251260 implementation(" androidx.core:core-splashscreen:1.2.0-beta02" )
252261 // implementation("androidx.datastore:datastore-preferences:1.1.0-rc01") TODO don't abuse shared prefs
253- implementation(" androidx.fragment:fragment-ktx:1.8.6 " )
254- implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx :2.8.7 " )
262+ implementation(" androidx.fragment:fragment-ktx:1.8.7 " )
263+ implementation(" androidx.lifecycle:lifecycle-viewmodel-compose :2.9.0 " )
255264 implementation(" androidx.mediarouter:mediarouter:1.7.0" )
265+ val media3Version = " 1.7.1"
256266 implementation(" androidx.media3:media3-common-ktx:$media3Version " )
257267 implementation(" androidx.media3:media3-exoplayer:$media3Version " )
258268 implementation(" androidx.media3:media3-exoplayer-midi:$media3Version " )
0 commit comments