forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Description
Build successful in Android studio but not in gitlab pipeline failed with following message.
Daggerversion: 2.41
Kotlin : 1.6.21
compileOptions - Java11
build:gradle:7.2
error: InjectProcessingStep was unable to process 'AppModule(android.content.Context)' because 'AuthTokenDataManagerImpl' could not be resolved.
Dependency trace:
=> element (CLASS): com.core.di.module.AppModule
=> element (METHOD): providesAuthTokenDataManager(AuthTokenDataManagerImpl)
=> type (EXECUTABLE method): (AuthTokenDataManagerImpl)com.core.data.datamanager.AuthTokenDataManager
=> type (ERROR parameter type): AuthTokenDataManagerImpl
If type 'AuthTokenDataManagerImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'AuthTokenDataManagerImpl' is on your classpath.
error: ModuleProcessingStep was unable to process 'com.core.di.module.AppModule' because 'AuthTokenDataManagerImpl' could not be resolved.
Dependency trace:
=> element (CLASS): com.core.di.module.AppModule
=> element (METHOD): providesAuthTokenDataManager(AuthTokenDataManagerImpl)
=> type (EXECUTABLE method): (AuthTokenDataManagerImpl)com.core.data.datamanager.AuthTokenDataManager
=> type (ERROR parameter type): AuthTokenDataManagerImpl
If type 'AuthTokenDataManagerImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'AuthTokenDataManagerImpl' is on your classpath.
error: ComponentProcessingStep was unable to process 'com.core.di.component.AppComponent' because 'AuthTokenDataManagerImpl' could not be resolved.
Dependency trace:
=> element (CLASS): com.core.di.module.AppModule
=> element (METHOD): providesAuthTokenDataManager(AuthTokenDataManagerImpl)
=> type (EXECUTABLE method): (AuthTokenDataManagerImpl)com.core.data.datamanager.AuthTokenDataManager
=> type (ERROR parameter type): AuthTokenDataManagerImpl
If type 'AuthTokenDataManagerImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'AuthTokenDataManagerImpl' is on your classpath.
Reactions are currently unavailable