KODI v1.4.1 Release Notes

Release Date: 2020-04-28 // over 1 year 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")