diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 3f4d11f3a..caf346117 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -66,6 +66,11 @@ dependencies { implementation(libs.compose.material3) implementation(libs.compose.material3.adaptative.navigation) implementation(libs.navigation.compose) + + implementation(libs.androidx.adaptive) + implementation(libs.androidx.adaptive.layout) + implementation(libs.androidx.adaptive.navigation) + // Compose preview tools implementation(libs.compose.ui.tooling.preview) debugImplementation(libs.compose.ui.tooling) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e23215d4b..dd366a378 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,6 @@ [versions] activityCompose = "1.9.0" +adaptiveLayout = "1.0.0-beta04" agp = "8.5.1" composeBom = "2024.06.00" coreKtx = "1.13.1" @@ -13,6 +14,9 @@ serialization = "1.7.1" [libraries] androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" } +androidx-adaptive = { module = "androidx.compose.material3.adaptive:adaptive", version.ref = "adaptiveLayout" } +androidx-adaptive-layout = { module = "androidx.compose.material3.adaptive:adaptive-layout", version.ref = "adaptiveLayout" } +androidx-adaptive-navigation = { module = "androidx.compose.material3.adaptive:adaptive-navigation", version.ref = "adaptiveLayout" } androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" } compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }