kotlin-dsl-samples icon indicating copy to clipboard operation
kotlin-dsl-samples copied to clipboard

Add sample demonstrating Kapt plugin usage in Android project

Open gildor opened this issue 6 years ago • 0 comments

Context

Example of configuration of Android Kotlin project that uses annotation processing libraries (just for example Android DataBinding Library and Dagger 2). Annotation Processing widely used on Android and kapt supports Kotlin and Java code as a source for code generation. The sample contains examples of the configuration of two popular libraries with AP.

Contributor Checklist

  • [x] Base the PR against the develop branch
  • [x] Sign Gradle CLA
  • [x] ~Provide integration tests to verify changes from a user perspective~ CI doesn't support Android builds
  • [x] ~Provide unit tests to verify logic~ N/A
  • [x] Ensure that tests pass locally: ./gradlew check --parallel

gildor avatar Nov 29 '17 01:11 gildor