kotlin-dsl-samples
kotlin-dsl-samples copied to clipboard
Add sample demonstrating Kapt plugin usage in Android project
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