Hi folks, I am trying to update `hilt-lifecycle-vi...
# dagger
c
Hi folks, I am trying to update
hilt-lifecycle-viewmodel
to 1.0.0, but I’m having an issue. Currently my project builds fine with this:
Copy code
def androidx_hilt_version = '1.0.0-alpha03'

implementation "androidx.hilt:hilt-lifecycle-viewmodel:$androidx_hilt_version"
kapt "androidx.hilt:hilt-compiler:$androidx_hilt_version"
If I change to
androidx_hilt_version = '1.0.0'
, gradle sync works fine, but build fails with this error:
Copy code
Could not find androidx.hilt:hilt-lifecycle-viewmodel:1.0.0.
Trying to use
-beta01
also fails. Did the artifact name change? I don’t see anything in the release notes. I’m using AGP 7.0.0 if that’s helpful.
r
Hi 👋 I see it was removed since this version https://github.com/google/dagger/releases/tag/dagger-2.34
You can follow the steps included in the release notes to make it work again
c
Ah I see, I don’t even need it anymore. Thanks!