KODI v1.4.1 Release Notes

Release Date: 2020-04-28 // almost 4 years ago
  • 🚀 Major release with big new functionality. Was added Annotation processor in the new module - kodigen.
    🆕 New annotation in the base package - kodi.annotations

    1. BindSingle and BindProvider annotations can be used with classes and static functions only. It generates a kodiModule file that contains all necessary bindings. 0️⃣ 2. IgnoreInstance - ignore some constructor and methods parameters but be you must specify it by default
    2. WithInstance - tell the processor to get an instance of the parameter with tag or scope

    🚀 This is a first release of the annotation processor and it's will be improved later.

    1. add maven { url = "https://dl.bintray.com/sphc/KodiGen" } in your project.gradle file in repository section 🔌 2. to use annotation processor need to include kapt plugin:
      🔌 apply plugin: 'kotlin-kapt' or with GradleDSL - plugin { kotlin("kapt")}
    2. app.gradle dependency block:
      kapt("com.rasalexman.kodi:kodigen::x.y.z")