Kotlin

dssl

A dead simple service locator for Kotlin. I built it to learn reified type parameters and how to publish a library to JitPack.

The whole API is three functions: single for a retained instance, factory for a new instance on every request, and get to resolve a dependency.

Source: github.com/fathonyfath/dssl