Skip to content

Commit

Permalink
Add androidx-lifecycle-viewmodel (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
AfigAliyev committed Aug 12, 2022
1 parent 1ca25c5 commit c7a51b8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ androidx-compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4
androidx-compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "androidx-compose" }

androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx-lifecycle" }
androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle" }
androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidx-lifecycle" }

androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidx-navigation" }
androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "androidx-hilt" }

Expand Down Expand Up @@ -97,7 +100,11 @@ androidx-compose = [
"androidx-compose-ui-tooling-preview",
"androidx-compose-ui-util"
]
androidx-lifecycle = ["androidx-lifecycle-runtime-ktx"]
androidx-lifecycle = [
"androidx-lifecycle-runtime-ktx",
"androidx-lifecycle-viewmodel-ktx",
"androidx-lifecycle-viewmodel-compose"
]
androidx-room = ["androidx-room-runtime", "androidx-room-ktx", "androidx-room-paging"]
retrofit = ["okhttp", "retrofit", "retrofit-kotlinx-serialization-converter"]
test = ["junit", "mockk"]
Expand Down

0 comments on commit c7a51b8

Please sign in to comment.