-
-
Notifications
You must be signed in to change notification settings - Fork 9
Description
An example would be switching between AP and reflection DI for dagger in dev/prod builds using https://github.com/JakeWharton/dagger-reflect
This may require introducing concept of conditional dependencies which may be a bit tricky to achieve in a type safe way(e.g. introducing smth like synthetic accessors for the flags)
This may be achieved via configuration
targets which may as well implement a way of introducing build configuration flags along with application runtime flags.
Another option is configuration via binary
targets, however this would be tricky because actual configuration of binary targets would be happening long after we'll need to utilize the flags.
Depending on the outcome of Investigation we may want to introduce smth like binary-configuration concept where we have core configuration linked 1:1 with binaries