Using the kotlin-jpa plugin in CLI

We can use the -Xplugin option to enable the kotlin-jpa plugin in order to use the JPA plugin in the command line. This is shown in the following snippet:

-Xplugin=$KOTLIN_HOME/lib/noarg-compiler-plugin.jar
-P plugin:org.jetbrains.kotlin.noarg:annotation=org.rao.kotlin.javaee.MyClass
-P plugin:org.jetbrains.kotlin.noarg:preset=jpa
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset