0.5.0 - Anvil, Hilt and Missing Binding Visualization support #91
arunkumar9t2
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Infra
mavenCentralatdev.arunkumar:scabbard-processor:0.5.0coordinate.jcenter()repository.Processor
StandardLocation.SOURCE_OUTPUTfolder which is the same folder as dagger or other annotation processor generated code. This location is by default indexed by IntelliJ/Android Studio and hence fixes issues caused by generated folder not getting indexed earlier thereby no gutter icons. The generated images also can be directly viewed underjava (generated)source set.Missing Binding Visualization.
Scabbard can add hyperlinks to generated full binding graph when Dagger's missing binding error is detected. This requires
fullBindingGraphValidationto be set totrue. Clicking the component name will open the full binding graph which would contain the missing binding visualization as shown below:Dagger Hilt
hilt-android-compilerwas applied.Anvil support
@MergeComponentand@MergeSubcomponentannotationssamples/kotlin-anviladdedSVG
Gutter icons now shows option to open the svg file in browser directly. From the browser, the svg file can be navigated using component hyperlinks

Dependencies
Update to
Kotlin1.5.0andDagger 2.37`Misc
This discussion was created from the release Anvil, Hilt and Missing Binding Visualization support.
Beta Was this translation helpful? Give feedback.
All reactions