sources/test-integration/test-projects/ksp-jvm-koin/src/Main.kt [5:35]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - package com.sample.koin import org.koin.core.annotation.* import org.koin.core.component.* import org.koin.core.context.startKoin import org.koin.dsl.module @Single class Heater { fun heat() { println("Heater: heating...") } } @Single class CoffeeMaker(private val heater: Heater) { fun makeCoffee() { heater.heat() println("CoffeeMaker: brewing...") } } @Module @ComponentScan class CoffeeShopModule class CoffeeShop : KoinComponent { val coffeeMaker by inject() } fun main() { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sources/test-integration/test-projects/ksp-kmp-koin/src/Main.kt [5:35]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - package com.sample.koin import org.koin.core.annotation.* import org.koin.core.component.* import org.koin.core.context.startKoin import org.koin.dsl.module @Single class Heater { fun heat() { println("Heater: heating...") } } @Single class CoffeeMaker(private val heater: Heater) { fun makeCoffee() { heater.heat() println("CoffeeMaker: brewing...") } } @Module @ComponentScan class CoffeeShopModule class CoffeeShop : KoinComponent { val coffeeMaker by inject() } fun main() { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -