Skip to content
Minimalist dependency injection library for Kotlin.
Kotlin
Branch: master
Clone or download
mgouline Fix documentation links
Fix issue raised in #12
Latest commit bf82a4d Oct 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle Update Kotlin and Gradle Oct 5, 2019
kapsule-core Cleanup before release May 30, 2019
samples Cleanup before release May 30, 2019
.gitignore Fix CI build Mar 29, 2017
.travis.yml Update Kotlin and Gradle Oct 5, 2019
CHANGELOG.md Cleanup before release May 30, 2019
LICENSE Initial commit Mar 15, 2017
README.md Fix documentation links Oct 20, 2019
build.gradle Update Kotlin and Gradle Oct 5, 2019
gradle.properties Update project URL Apr 3, 2017
gradlew Initial demo Mar 15, 2017
gradlew.bat Initial demo Mar 15, 2017
settings.gradle Exclude sample projects Mar 29, 2017

README.md

Kapsule Build Status

Minimalist dependency injection library for Kotlin.

Why create another dependency injection library? Here are the objectives pursued by Kapsule:

  • Simple features that most projects will have use for
    • Alternative for projects whose dependency injection needs are quite basic
  • Keep the method count to a minimum
    • Dependency injection shouldn't take thousands of methods to implement
  • No annotation processing
    • No need for lateinit on properties and they can be private and read-only
  • No magic, keep everything as a hard reference
    • Reading code is easier when you can click through all the references in your IDE
  • Utilize the power of Kotlin
    • Use language features to simplify code instead of focusing on Java compatibility

To accomplish all of these, Kapsule is based on delegation and delegated properties.

Documentation

License

This project is licensed under the terms of the MIT license. See the LICENSE file.

You can’t perform that action at this time.