Skip to content

Commit

Permalink
Update anvil-codegen (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
illarionov authored Jan 16, 2024
1 parent 6d32b4f commit 5029d09
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package ru.pixnews.inject.initializer

import com.squareup.anvil.annotations.MergeComponent
import com.squareup.anvil.annotations.optional.SingleIn
import ru.pixnews.anvil.codegen.initializer.inject.wiring.AppInitializersScope
import ru.pixnews.anvil.codegen.initializer.inject.AppInitializersScope
import ru.pixnews.di.root.component.PixnewsAppComponent
import ru.pixnews.inject.MockWebServerHolder

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import com.squareup.anvil.annotations.ContributesTo
import dagger.Binds
import dagger.Module
import dagger.multibindings.IntoSet
import ru.pixnews.anvil.codegen.initializer.inject.wiring.AppInitializersScope
import ru.pixnews.anvil.codegen.initializer.inject.AppInitializersScope
import ru.pixnews.foundation.initializers.Initializer
import ru.pixnews.initializers.DebugStrictModeInitializer

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package ru.pixnews.inject.experiments

import com.squareup.anvil.annotations.MergeComponent
import com.squareup.anvil.annotations.optional.SingleIn
import ru.pixnews.anvil.codegen.experiment.inject.wiring.ExperimentScope
import ru.pixnews.anvil.codegen.experiment.inject.ExperimentScope
import ru.pixnews.foundation.di.base.DaggerMap
import ru.pixnews.foundation.di.base.DaggerSet
import ru.pixnews.foundation.featuretoggles.Experiment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import dagger.Module
import dagger.Provides
import dagger.Reusable
import dagger.multibindings.Multibinds
import ru.pixnews.anvil.codegen.experiment.inject.wiring.ExperimentScope
import ru.pixnews.anvil.codegen.experiment.inject.ExperimentScope
import ru.pixnews.foundation.di.base.DaggerMap
import ru.pixnews.foundation.di.base.DaggerSet
import ru.pixnews.foundation.featuretoggles.Experiment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package ru.pixnews.inject.initializer
import com.squareup.anvil.annotations.MergeComponent
import com.squareup.anvil.annotations.optional.SingleIn
import dagger.Component
import ru.pixnews.anvil.codegen.initializer.inject.wiring.AppInitializersScope
import ru.pixnews.anvil.codegen.initializer.inject.AppInitializersScope
import ru.pixnews.di.root.component.PixnewsAppComponent
import ru.pixnews.inject.FirebaseModule.FirebaseProviderHolder

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import com.squareup.anvil.annotations.ContributesTo
import dagger.Module
import dagger.Provides
import dagger.multibindings.Multibinds
import ru.pixnews.anvil.codegen.initializer.inject.wiring.AppInitializersScope
import ru.pixnews.anvil.codegen.initializer.inject.AppInitializersScope
import ru.pixnews.foundation.coroutines.IoCoroutineDispatcherProvider
import ru.pixnews.foundation.coroutines.RootCoroutineScope
import ru.pixnews.foundation.di.base.DaggerSet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package ru.pixnews.inject.ui
import com.squareup.anvil.annotations.ContributesTo
import dagger.Module
import dagger.Provides
import ru.pixnews.anvil.codegen.activity.inject.wiring.ActivityScope
import ru.pixnews.anvil.codegen.activity.inject.ActivityScope
import ru.pixnews.foundation.featuretoggles.FeatureManager
import ru.pixnews.foundation.featuretoggles.FeatureToggle
import ru.pixnews.foundation.featuretoggles.getFeatureToggle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import com.squareup.anvil.annotations.ContributesTo
import com.squareup.anvil.annotations.optional.SingleIn
import dagger.Module
import dagger.Provides
import ru.pixnews.anvil.codegen.viewmodel.inject.wiring.ViewModelScope
import ru.pixnews.anvil.codegen.viewmodel.inject.ViewModelScope
import ru.pixnews.foundation.coroutines.IoCoroutineDispatcherProvider
import ru.pixnews.foundation.coroutines.RootCoroutineScope
import ru.pixnews.foundation.di.base.DaggerMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import com.squareup.anvil.annotations.ContributesSubcomponent
import com.squareup.anvil.annotations.ContributesTo
import com.squareup.anvil.annotations.optional.SingleIn
import dagger.BindsInstance
import ru.pixnews.anvil.codegen.activity.inject.ActivityScope
import ru.pixnews.anvil.codegen.activity.inject.wiring.ActivityInjector
import ru.pixnews.anvil.codegen.activity.inject.wiring.ActivityScope
import ru.pixnews.foundation.di.base.scopes.AppScope

@SingleIn(ActivityScope::class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import dagger.Module
import dagger.Provides
import dagger.Reusable
import dagger.multibindings.Multibinds
import ru.pixnews.anvil.codegen.activity.inject.ActivityScope
import ru.pixnews.anvil.codegen.activity.inject.wiring.ActivityInjector
import ru.pixnews.anvil.codegen.activity.inject.wiring.ActivityScope
import ru.pixnews.anvil.codegen.activity.inject.wiring.DefaultActivityInjector
import ru.pixnews.foundation.di.base.DaggerMap

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import androidx.annotation.RestrictTo
import androidx.fragment.app.Fragment
import com.squareup.anvil.annotations.ContributesSubcomponent
import com.squareup.anvil.annotations.optional.SingleIn
import ru.pixnews.anvil.codegen.activity.inject.wiring.ActivityScope
import ru.pixnews.anvil.codegen.activity.inject.ActivityScope
import javax.inject.Provider

@SingleIn(FragmentScope::class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentFactory
import com.squareup.anvil.annotations.ContributesBinding
import dagger.Reusable
import ru.pixnews.anvil.codegen.activity.inject.wiring.ActivityScope
import ru.pixnews.anvil.codegen.activity.inject.ActivityScope
import javax.inject.Inject

@Reusable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import androidx.lifecycle.ViewModel
import com.squareup.anvil.annotations.ContributesTo
import dagger.Module
import dagger.multibindings.Multibinds
import ru.pixnews.anvil.codegen.viewmodel.inject.ViewModelScope
import ru.pixnews.anvil.codegen.viewmodel.inject.wiring.ViewModelFactory
import ru.pixnews.anvil.codegen.viewmodel.inject.wiring.ViewModelScope
import ru.pixnews.foundation.di.base.DaggerMap

@Module
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import com.squareup.anvil.annotations.ContributesSubcomponent
import com.squareup.anvil.annotations.ContributesTo
import com.squareup.anvil.annotations.optional.SingleIn
import dagger.BindsInstance
import ru.pixnews.anvil.codegen.viewmodel.inject.ViewModelScope
import ru.pixnews.anvil.codegen.viewmodel.inject.wiring.ViewModelFactory
import ru.pixnews.anvil.codegen.viewmodel.inject.wiring.ViewModelScope
import ru.pixnews.foundation.di.base.DaggerMap
import ru.pixnews.foundation.di.base.scopes.AppScope
import javax.inject.Provider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import androidx.annotation.RestrictTo
import androidx.work.CoroutineWorker
import com.squareup.anvil.annotations.ContributesSubcomponent
import com.squareup.anvil.annotations.optional.SingleIn
import ru.pixnews.anvil.codegen.workmanager.inject.WorkManagerScope
import ru.pixnews.anvil.codegen.workmanager.inject.wiring.CoroutineWorkerFactory
import ru.pixnews.anvil.codegen.workmanager.inject.wiring.WorkManagerScope
import ru.pixnews.foundation.di.base.DaggerMap
import ru.pixnews.foundation.di.base.scopes.AppScope

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import androidx.work.CoroutineWorker
import com.squareup.anvil.annotations.ContributesTo
import dagger.Module
import dagger.multibindings.Multibinds
import ru.pixnews.anvil.codegen.workmanager.inject.WorkManagerScope
import ru.pixnews.anvil.codegen.workmanager.inject.wiring.CoroutineWorkerFactory
import ru.pixnews.anvil.codegen.workmanager.inject.wiring.WorkManagerScope
import ru.pixnews.foundation.di.base.DaggerMap

@ContributesTo(WorkManagerScope::class)
Expand Down

0 comments on commit 5029d09

Please sign in to comment.