A tool for invoking the Kotlin Annotation Processor (kapt) from the command line. This project is a work in progress.
Kotlin 1.1.3+
- Modify the
args
file and provide values for all variables. (TODO: provide more description) - Modify the
module-template.xml
file and add values. (TODO: provide an xml generator for fields set inargs
) - Patch your
kotlinc
file to add javatools.jar
to the compiler classpath. (TODO: provide this as an arg) - Optional: If you've run step 4 previously, you may choose to run
./clean
to start fresh. - Invoke
./kapt
. (TODO: complete all steps)
https://kotlinlang.org/docs/reference/kapt.html
https://stackoverflow.com/questions/45217399/how-to-use-kapt-from-command-line-with-kotlinc