Skip to content

Demonstrates usage of APTK and CUTE framework in Kotlin

License

Notifications You must be signed in to change notification settings

toolisticon/aptk-kotlin-demo

Repository files navigation

Kotlin Annotation Processor Demo

Build Status codecov

About

This demo shows how to build annotation processors in kotlin using the toolisticon annotation processor stack

The stack contains:

  • APTK: The annotation processor toolkit is a library that helps you to develop annotation processors.
  • CUTE: A compile time unit testing framework for testing annotation processors by compiling Java test source files or by supporting you to develop unit tests for you annotation processor related code. (Will soon also support Kotlin files)

The demo is the kotlin port of SPIAP project written in Java, just to demonstrate how the same processor could look like in kotlin.

One remark: The Kotlin code isn't perfect since I have just started to learn Kotlin. It will be updated from time to time.

Not the whole project has been moved to kotlin yet. This will be done in the near future

Contributing

We welcome any kind of suggestions and pull requests.

Building the demo

The SPI-Annotation-Processor is built using Maven (at least version 3.0.0). A simple import of the pom in your IDE should get you up and running. To build the demo on the commandline, just run ./mvnw or ./mvnw clean install

Requirements

The likelihood of a pull request being used rises with the following properties:

  • You have used a feature branch.
  • You have included a test that demonstrates the functionality added or fixed.
  • You adhered to the code conventions.

Contributions

  • (2022) Tobias Stamann (Holisticon AG)

License

This project is released under the revised MIT License.

This project includes and repackages the Annotation-Processor-Toolkit released under the MIT License.

About

Demonstrates usage of APTK and CUTE framework in Kotlin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published