Dagger 2.53

61 views
Skip to first unread message

Juan Pablo Gardella

unread,
Dec 10, 2024, 3:39:23 PM12/10/24
to GWT Users
Hello all,

I am having problems upgrading Dagger. Latest stable version is 2.51, after that I see issues during compilaton. I am using Autofactory too, which uses javax.inject annotations. Anyone had the same problem and figured out the solution?

Thanks,
Juan

Thomas Broyer

unread,
Dec 11, 2024, 4:27:37 AM12/11/24
to GWT Users
Do you really need AutoFactory though? Dagger has supported an equivalent for nearly 4 years now: https://github.com/google/dagger/releases/tag/dagger-2.31 (and has been recommended over AutoFactory for 3 years: https://github.com/google/auto/commit/8dfe0ffeba3b371dbb2ecee0ea451df059db8662)

Juan Pablo Gardella

unread,
Dec 11, 2024, 6:54:30 AM12/11/24
to google-we...@googlegroups.com
Thanks Thomas, I was not aware of that. I'll check it out

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/5aff8311-9ac7-4fb5-8143-338c107167f8n%40googlegroups.com.

Juan Pablo Gardella

unread,
Dec 11, 2024, 9:33:47 AM12/11/24
to google-we...@googlegroups.com
Thanks Thomas!That did the trick. I removed that library and used the suggestion. I have also migrated to jakarta.inject.* annotations too. The only pending annotation to work with the latest Dagger is javax.inject.Provider. I have to stick with it for now.
Reply all
Reply to author
Forward
0 new messages