diff options
author | Anindya Chatterjee <anidotnet@gmail.com> | 2017-06-09 16:14:27 +0530 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2017-06-09 13:44:27 +0300 |
commit | 443191d0cc75079099278596c686c29d18cf9a01 (patch) | |
tree | acf6f84d5ed23ebeecf100cf825652c7710103ae /README.md | |
parent | 7f4c67ae6f847ee8a5594413b0ece899e3956300 (diff) | |
download | pf4j-443191d0cc75079099278596c686c29d18cf9a01.tar.gz pf4j-443191d0cc75079099278596c686c29d18cf9a01.zip |
Kotlin plugin example added and README updated for Kotlin. (#146)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -223,6 +223,13 @@ The `maven-compiler-plugin` can be configured to do this like so: </plugin> ``` +### Kotlin + +PF4J can be used in Kotlin project as well. One has to use the Kotlin annotation processing tool +[**kapt**](https://kotlinlang.org/docs/reference/kapt.html) for the plugin project written in Kotlin. +The demo_gradle project contains one plugin project _plugin3_ written in Kotlin for demonstration. + + Plugin assembly ------------------------------ After you developed a plugin the next step is to deploy it in your application. For this task, one option is to create a zip file with a structure described in section [How to use](https://github.com/decebals/pf4j/blob/master/README.md#how-to-use) from the beginning of the document. |