Skip to content

All-kotlin project containing both an application and an annotation processor

License

Notifications You must be signed in to change notification settings

dynaxis/kapt-example

 
 

Repository files navigation

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:

About

All-kotlin project containing both an application and an annotation processor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%