Setup Koin

All you need to setup your app with Gradle

Choose your Koin dependency

JCenter Repository

// Add Jcenter to your repositories if needed
repositories {
	jcenter()    
}

Koin Core Features

// Koin for Kotlin
compile "org.koin:koin-core:1.0.2"
// Koin Extended & experimental features
compile "org.koin:koin-core-ext:1.0.2"
// Koin for Java developers
compile "org.koin:koin-java:1.0.2"
// Koin for Unit tests
testCompile "org.koin:koin-test:1.0.2"

Koin for Android

// Koin for Android
compile "org.koin:koin-android:1.0.2"
// Koin Android Scope feature
compile "org.koin:koin-android-scope:1.0.2"
// Koin Android ViewModel feature
compile "org.koin:koin-android-viewmodel:1.0.2"

Koin for AndroidX

// AndroidX (based on koin-android)
// Koin AndroidX Scope feature
compile "org.koin:koin-androidx-scope:1.0.2"
// Koin AndroidX ViewModel feature
compile "org.koin:koin-androidx-viewmodel:1.0.2"

Koin for SparkJava

// Koin for Spark Kotlin
compile "org.koin:koin-spark:1.0.2"

Koin for Ktor

// Koin for Ktor Kotlin
compile "org.koin:koin-ktor:1.0.2"