Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
It was revealed in July that dagger is becoming a KSP (Kotlin) processor. This probably means it will never add module-info.java. But jpms requires all your dependencies to be modular, and there's the problem because dagger is widespread and many things depend on it.
So I put in the hard work and created dapper, a trimmed-down copy of version 2.37, the last pure-Java version of dagger. I hope it can help with jpms adoption. I also hope I can roughly keep it in sync with a quite active upstream.
You might like Avaje Inject! It's a pure Java DI framework that's got quite a nice Dagger-inspired design but is better generalized, IMO.
Related posts
- Avaje Inject - Microservice Focused DI via Annotation Processing
- I wrote a simple, compile-time dependency injection framework
- Dependency injection frameworks
- Dirk: a new light-weight system for dependency injection
- WireDI: Framework for dependency injection at compile time, aiming to bridge with runtime dependency injection