How to annotate your code with `@Named` java annot...
# getting-started
t
How to annotate your code with
@Named
java annotation (https://javaee.github.io/javaee-spec/javadocs/javax/inject/Named.html) without directly depending on a dependency injection framework? We have a multi gradle project and our app consists out of different layers. Only the top layer has a direct dependency on a dependency injection framework. The other layers only use java’s
@Named
annotation without depending a such a framework (they will be assembled by the top layer). We try not to dependent on frameworks in those layers. Would love to keep using this pattern when porting our apps to kotlin. Any ideas how?