Generate Kotlin Multiple Rounds Save

Android sample project demonstrating how to generate Kotlin code through annotation processing, and then feeding it into a second round of annotation processing.

Project README

Sample created for the article "Pushing the limits of Kotlin annotation processing".


This sample Android project demonstrates:

  1. Generating Kotlin code though an annotation processor.
  2. Feeding that generated code into a second round of annotation processing by putting it into a Gradle module and consuming it into another one.
  3. Testing that a second round of processing has happened. In this case Dagger 2 (used as an example) is consuming the previously generated code to generate additional classes.
Open Source Agenda is not affiliated with "Generate Kotlin Multiple Rounds" Project. README Source: Takhion/generate-kotlin-multiple-rounds

Open Source Agenda Badge

Open Source Agenda Rating