Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hilt-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ dependencies {
implementation(libs.findBugs)
implementation(libs.kotlin.stdlib)

compileOnly(libs.errorprone.annotations)

annotationProcessor(project(":dagger-compiler", "unshaded"))
annotationProcessor(project(":hilt-compiler", "unshaded"))
annotationProcessor(libs.auto.common)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package dagger.hilt.android.internal.builders;

import com.google.errorprone.annotations.CanIgnoreReturnValue;
import dagger.BindsInstance;
import dagger.hilt.DefineComponent;
import dagger.hilt.android.components.ActivityRetainedComponent;
Expand All @@ -25,6 +26,7 @@
@DefineComponent.Builder
public interface ActivityRetainedComponentBuilder {

@CanIgnoreReturnValue
ActivityRetainedComponentBuilder savedStateHandleHolder(
@BindsInstance SavedStateHandleHolder savedStateHandleHolder);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ android_library(
"//hilt-android/main/java/dagger/hilt/android/components",
"//hilt-android/main/java/dagger/hilt/android/internal/managers:saved_state_handle_holder",
"//hilt-core/main/java/dagger/hilt:define_component",
"//third_party/java/androidx/annotation",
"//third_party/java/androidx/fragment",
"//third_party/java/androidx/lifecycle/viewmodel_savedstate",
"//third_party/java/dagger",
"//third_party/java/error_prone:annotations",
],
)

Expand Down
Loading