Skip to content

Commit 4d7f60c

Browse files
committed
Update README
1 parent 8ddea05 commit 4d7f60c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ dependencies{
9696
annotationProcessor "androidx.room:room-compiler:$versions.room"
9797
//hilt
9898
implementation "com.google.dagger:hilt-android:$versions.daggerHint"
99-
annotationProcessor "com.google.dagger:hilt-android-compiler:$versions.daggerHint"
99+
annotationProcessor "com.google.dagger:hilt-compiler:$versions.daggerHint"
100100
101101
//从2.1.0以后已移除
102102
// implementation "androidx.hilt:hilt-lifecycle-viewmodel:$versions.hilt"
@@ -162,11 +162,8 @@ dependencies{
162162
annotationProcessor deps.room.compiler
163163
164164
//hilt
165-
compileOnly deps.dagger.hilt_android
166-
annotationProcessor deps.dagger.hilt_android_compiler
167-
168-
compileOnly deps.hilt.hilt_viewmodel
169-
annotationProcessor deps.hilt.hilt_compiler
165+
api deps.dagger.hilt_android
166+
annotationProcessor deps.dagger.hilt_compiler
170167
171168
//log
172169
api deps.timber

0 commit comments

Comments
 (0)