0.3.0 fails to build with kapt
See original GitHub issue> Task :log-sync:kaptReleaseKotlin FAILED
[WARN] Issue detected with dagger.internal.codegen.ComponentProcessor. Expected 1 originating source file when generating /Users/zsweers/dev/slack/slack-android-ng/log-sync/build/tmp/kapt3/classes/release/scabbard/full_slack.logsync.di.LogSyncBaseModule.svg, but detected 0: [].
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
error: cannot access Metrics
class file for slack.telemetry.Metrics not found
Consult the following stack trace for details.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for slack.telemetry.Metrics not found
> Task :tooling:flipper:plugins:ms-event:plugin:kaptReleaseKotlin
[WARN] Issue detected with dagger.internal.codegen.ComponentProcessor. Expected 1 originating source file when generating /Users/zsweers/dev/slack/slack-android-ng/tooling/flipper/plugins/ms-event/plugin/build/tmp/kapt3/classes/release/scabbard/full_slack.tooling.flipper.plugins.msevent.plugin.MsEventFlipperPluginModule.dot, but detected 0: [].
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> Task :model:kaptReleaseKotlin
warning: The following options were not recognized by any processor: '[scabbard.failOnError, scabbard.outputFormat, kapt.kotlin.generated, dagger.fullBindingGraphValidation]'
FAILURE: Build failed with an exception.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:12 (10 by maintainers)
Top Results From Across the Web
gradle - Android - Kapt Build Fails - Stack Overflow
Room and Kapt plugin issue fix. On the right hand side of your IDE, click on the Gradle bar -> app -> tasks...
Read more >KaptWithoutKotlincTask in Android project failure in case ...
On a toy project, I can fix this issue by updating to Gradle 7.2 (still using AGP 7.0.0), or set kapt.workers.isolation=none . Can...
Read more >Using kapt | Kotlin
The kapt annotation processing tasks are cached in Gradle by default. ... If the annotation processors used in the build cannot be properly ......
Read more >Android Configuration with name 'kapt' not found - iTecNote
to module build.gradle , after click on sync i get this error: ... implementation 'com.github.armcha:AutoLinkTextView:0.3.0' implementation ...
Read more >Change Log - KotlinPoet
Fix: Fail compilation if you only pass one string to ClassName . ... Since kapt runs annotation processors over stubs, which are Java...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same result regardless I think. Can confirm tomorrow. These tests for sure at least cover with it set to true
On Thu, May 21, 2020 at 3:58 AM Arunkumar notifications@github.com wrote:
Let me try to build with the dagger option on bit without scabbard enabled and see if it still happens
On Thu, May 21, 2020 at 12:42 AM Arunkumar notifications@github.com wrote: