janvladimirmostert
04/24/2019, 8:27 PMplugins {
id("org.jetbrains.kotlin.plugin.noarg").version(kotlinVersion)
id("org.jetbrains.kotlin.plugin.jpa").version(kotlinVersion)
}
and then the noArg one i figured out can be configured like this
noArg {
annotation(...)
}
how does one do that for the jpa plugin?
I'm trying to translate this maven to gradle kotlin dsl:
<configuration>
<jvmTarget>${java.version}</jvmTarget>
<compilerPlugins>
<plugin>jpa</plugin>
</compilerPlugins>
<pluginOptions>
<option>jpa:annotation=javax.persistence.MappedSuperclass</option>
</pluginOptions>
</configuration>
snowe
04/24/2019, 8:28 PMjpa
plugin.snowe
04/24/2019, 8:28 PMjanvladimirmostert
04/24/2019, 8:33 PMCzar
04/24/2019, 8:41 PMplugins {
kotlin("plugin.jpa") version kotlinVersion
}
No need to specify full id and no need to specify no-arg if you only need it for JPA.janvladimirmostert
04/25/2019, 6:01 AM