Software Development, Linux Administrator
Photo by André François McKenzie on Unsplash

Kotlin JVM

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
freeCompilerArgs += '-Xopt-in=org.koin.core.component.KoinApiExtension'
}
}

Kotlin Android

android {
...
kotlinOptions {
freeCompilerArgs += "-Xopt-in=org.koin.core.component.KoinApiExtension"
}
...
}

Prerequirements

Max Großmann

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store