Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.06 KB

README.MD

File metadata and controls

25 lines (19 loc) · 1.06 KB

Kapt example

This is a bit of boilerplate for an all-Kotlin project containing both the application and an annotation processor applied to the application. This example uses a multi-project setup using kotlin-dsl and kapt.

This example introduces "Interesting" things. The compiler will remark that something is interesting if you annotate it as such. This, of course, has no real application.

Test the application using the following. Note that it will remain silent if the compilation task is up to date.

./gradlew build

It should output the following:

:kapt-example-app:kaptKotlin
w: warning: main is interesting.
w: