amanjeetsingh150 / dagger-track

Gradle plugin to add clock trackings to your dagger components and subcomponents
https://amanjeetsingh150.github.io/dagger-track/
Apache License 2.0
62 stars 3 forks source link

Nothing in logcat #8

Open drdla49 opened 3 years ago

drdla49 commented 3 years ago

I add all that you write in the manual:

maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }

dependencies { classpath "me.amanjeet.daggertrack:dagger-track:1.0.5-SNAPSHOT" }

apply plugin: 'com.android.application'

apply plugin: 'me.amanjeet.daggertrack'

daggerTrack { applyFor = ["debug"] }

implementation 'me.amanjeet.daggertrack:dagger-track-clocks:1.0.5-SNAPSHOT'

All in the right places.

I expect that I automatically see the output in logcat if I filter DaggerTrack. I force stop app and run but there is no DaggerTrack in logcat.

I have to do something else?

Thanks for answer

amanjeetsingh150 commented 3 years ago

Hey @drdla49 thanks for reaching out are you using dagger hilt?

drdla49 commented 3 years ago

It works if I use com.jakewharton.dagger:dagger-codegen It not works if I use dagger reflect. It is possible to add support of dagger reflect? Thanks

amanjeetsingh150 commented 3 years ago

Hey, do you mean it does not work if you implement Jake's dagger-reflect artifacts from here instead of dagger android or dagger hilt directly right?

drdla49 commented 3 years ago

Yes, I use Jake's dagger

amanjeetsingh150 commented 3 years ago

Sure thing @drdla49 will have look into this. Will try reproduce this locally. Meanwhile do let me know if you find anything around this or any other feedbacks 😄