Kotlin no puede encontrar el componente Dagger al build con la variante de versión Release

Tengo la actividad de Kotlin con esta línea de código:

DaggerComponentManager.INSTANCE.getViewComponent(this).inject(this) 

Se construye bien cuando uso la variante de compilation Debug, pero cuando cambio a la tarea Release gradle compileDevelopmentReleaseKotlin falla con el siguiente error: Cannot access class 'ViewComponent'. Check your module classpath for missing or conflicting dependencies Cannot access class 'ViewComponent'. Check your module classpath for missing or conflicting dependencies class de Cannot access class 'ViewComponent'. Check your module classpath for missing or conflicting dependencies detectar Cannot access class 'ViewComponent'. Check your module classpath for missing or conflicting dependencies Esta class existe en ambos sets de fonts de manera segura.

¿Alguna idea de cómo puedo solucionar o al less corregir esto?

Aquí está stacktrace:

La exception es: org.gradle.api.tasks.TaskExecutionException: ejecución fallida para la tarea ': att-thanks: compileDevelopmentReleaseKotlin'. en org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions (ExecuteActionsTaskExecuter.java:84) en org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute (ExecuteActionsTaskExecuter.java:55) en org.gradle .api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute (SkipUpToDateTaskExecuter.java:62) en org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute (ValidatingTaskExecuter.java:58) en org.gradle.api.internal .tasks.execution.SkipEmptySourceFilesTaskExecuter.execute (SkipEmptySourceFilesTaskExecuter.java:88) en org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute (ResolveTaskArtifactStateTaskExecuter.java:46) en org.gradle.api.internal.tasks.execution .SkipTaskWithNoActionsExecuter.execute (SkipTaskWithNoActionsExecuter.java:51) en org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute (SkipOnlyIfTaskExecuter.java:54) en org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTas kExecuter.execute (ExecuteAtMostOnceTaskExecuter.java:43) en org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute (CatchExceptionTaskExecuter.java:34) en org.gradle.execution.taskgraph.DefaultTaskGraphExecuter $ EventFiringTaskWorker $ 1.execute (DefaultTaskGraphExecuter .java: 236) en org.gradle.execution.taskgraph.DefaultTaskGraphExecuter $ EventFiringTaskWorker $ 1.execute (DefaultTaskGraphExecuter.java:228) en org.gradle.internal.Transformers $ 4.transform (Transformers.java:169) en org.gradle. internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor.java:106) en org.gradle.internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor.java:61) en org.gradle.execution.taskgraph.DefaultTaskGraphExecuter $ EventFiringTaskWorker.execute (DefaultTaskGraphExecuter. java: 228) en org.gradle.execution.taskgraph.DefaultTaskGraphExecuter $ EventFiringTaskWorker.execute (DefaultTaskGraphExecuter.java:215) en org.gradle.execution.taskgraph.AbstractTaskP lanExecutor $ TaskExecutorWorker.processTask (AbstractTaskPlanExecutor.java:77) en org.gradle.execution.taskgraph.AbstractTaskPlanExecutor $ TaskExecutorWorker.run (AbstractTaskPlanExecutor.java:58) en org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute (ExecutorPolicy. java: 63) en org.gradle.internal.concurrent.StoppableExecutorImpl $ 1.run (StoppableExecutorImpl.java:46) Causado por: org.gradle.api.GradleException: Error de compilation. Consulte el logging para get más detalles en org.jetbrains.kotlin.gradle.tasks.TasksUtilsKt.throwGradleExceptionIfError (tasksUtils.kt: 8) en org.jetbrains.kotlin.gradle.tasks.KotlinCompile.processCompilerExitCode (Tasks.kt: 286) at org. jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler $ kotlin_gradle_plugin (Tasks.kt: 260) en org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler $ kotlin_gradle_plugin (Tasks.kt: 160) en org.jetbrains.kotlin. gradle.tasks.AbstractKotlinCompile.execute (Tasks.kt: 141) en org.gradle.internal.reflect.JavaMethod.invoke (JavaMethod.java:73) en org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore $ IncrementalTaskAction. doExecute (DefaultTaskClassInfoStore.java:163) en org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore $ StandardTaskAction.execute (DefaultTaskClassInfoStore.java:134) en org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore $ StandardTaskAction. execute (DefaultTaskClassInfoStore.java:123) en org.gradle.api.internal.tas ks.execution.ExecuteActionsTaskExecuter.executeAction (ExecuteActionsTaskExecuter.java:95) en org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions (ExecuteActionsTaskExecuter.java:76)