A simple project to demonstrate the Koin dependency injection framework.
Compile with:
./gradlew shadowJar
Run the examples with:
java -cp ./build/libs/KotlinKoinExample-all.jar com.matthewcasperson.SingleKt
java -cp ./build/libs/KotlinKoinExample-all.jar com.matthewcasperson.FactoryKt
java -cp ./build/libs/KotlinKoinExample-all.jar com.matthewcasperson.InterfacesKt
java -cp ./build/libs/KotlinKoinExample-all.jar com.matthewcasperson.NestedKt
java -cp ./build/libs/KotlinKoinExample-all.jar com.matthewcasperson.KoinComponentKt