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
BindSingle
andBindProvider
annotations can be used with classes and static functions only. It generates akodiModule
file that contains all necessary bindings. 0️⃣ 2.IgnoreInstance
- ignore some constructor and methods parameters but be you must specify it by defaultWithInstance
- 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.
- add
maven { url = "https://dl.bintray.com/sphc/KodiGen" }
in your project.gradle file in repository section 🔌 2. to use annotation processor need to includekapt
plugin:
🔌apply plugin: 'kotlin-kapt'
or with GradleDSL -plugin { kotlin("kapt")}
- app.gradle dependency block:
kapt("com.rasalexman.kodi:kodigen::x.y.z")