Comments (4)
Thanks, noted. Will target a fix for 0.3.1.
from scabbard.
I took at shot at this in #53 but it is not fully fixed yet.
New behaviors
- Scabbard will lazily apply its dependencies only when the configuration is resolved and dagger is present in the project.
- For Java projects, compiler arguments will be added lazily and only if dagger is there.
- Kapt is a different story
- Kapt eagerly evaluates and applies the
kapt
arguments during plugin application. This means I have to pass arguments very early but at that time dependencies might not be available. Technically I can doconfiguration.dependencies.all {}
orwhenObjectAdded
but that cause eager evaluation and I want to avoid it for now. Created https://youtrack.jetbrains.com/issue/KT-39521 - I thought
The following options were not recognized by any processor
warning was spit out based on supported options alone but it seems to check for supportedTypes as well. Checking for dagger presence alone might not be sufficient to avoid this error. Failing functional test.
- Kapt eagerly evaluates and applies the
I will keep this open and look for any workaround.
from scabbard.
Update: I saw this JetBrains/kotlin@19708cf and also now Kapt options are using provider
instead of evaluating eagerly. I will investigate if this can be fixed soon,
from scabbard.
@arunkumar9t2 i also have this issue an nothing is being generated in kapt3/classes/ folder.
from scabbard.
Related Issues (20)
- Could not find com.github.kittinunf.result:result:3.0.0. HOT 4
- The generated png file is always empty. HOT 3
- Any chance this works with Bazel? HOT 4
- Fix images not generated for Hilt components when using Dagger 2.40+
- Incompatible with Android Gradle Plugin HOT 4
- Could not find com.github.kittinunf.result:result:3.0.0 HOT 1
- NoSuchMethodError: 'dagger.model.BindingGraph dagger.model.BindingGraph.create(com.google.common.graph.Network, boolean) HOT 2
- incompatible with Kotlin 1.9.10 HOT 4
- Fatal Error while building the project - Error processing svgSalamander://graph/ HOT 1
- Does this work with hilt as well? HOT 1
- Bump to Kotlin 1.4.20 HOT 1
- Document `doc` registration
- Build failed after Scrabbard gradle plugin setup HOT 2
- build problem when plugin is enabled (dagger.releasablereferences @CanReleaseReferences) HOT 4
- Plans to publish to MavenCentral? HOT 1
- Consider generating files to `StandardLocation.SOURCE_OUTPUT`
- Standalone Android Studio Sample HOT 3
- Build fails resolving transitive dependency HOT 4
- Gradle sync failing when scabbard plugin is added HOT 2
- Interactive SVGs are not generated in scabbard 0.5.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scabbard.