aboutsummaryrefslogtreecommitdiff
path: root/WORKSPACE
diff options
context:
space:
mode:
authorDagger Team <java-team-github-bot@google.com>2020-11-11 22:01:59 -0800
committerDagger Team <dagger-dev+copybara@google.com>2020-11-11 22:04:32 -0800
commitb02960c14d41b4db49e4d6c72846137ef0afab27 (patch)
treeb9765f22a8f5d8dbf55553e8a66702fe69762e1a /WORKSPACE
parentc539b381ab03be0f33d3c3ef503446989978e2b4 (diff)
downloaddagger2-b02960c14d41b4db49e4d6c72846137ef0afab27.tar.gz
Migrating @ViewModelInject into Hilt's codebase.
This CL brings the ViewModel extension from AndroidX into Hilt's codebase to provide first party support for ViewModels within Hilt. It does not update the mechanism for which the HiltViewModelFactory is provided into the @AndroidEntryPoint-annotated classes. RELNOTES=Migrating @ViewModelInject into Hilt's codebase. PiperOrigin-RevId: 341977365
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE2
1 files changed, 2 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index ef91e135f..9eb5d9d32 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -76,7 +76,9 @@ maven_install(
"androidx.activity:activity:1.1.0",
"androidx.fragment:fragment:1.2.5",
"androidx.lifecycle:lifecycle-viewmodel:2.2.0",
+ "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.2.0",
"androidx.multidex:multidex:2.0.1",
+ "androidx.savedstate:savedstate:1.0.0",
"androidx.test:monitor:1.1.1",
"androidx.test:core:1.1.0",
"com.google.auto:auto-common:0.11",