Using the kotlin-jpa plugin in Gradle

In Gradle, we can enable the kotlin-jpa plugin using buildscript with the kotlin-noarg artifact, as follows:

buildscript {
dependencies {
classpath "org.jetbrains.kotlin:kotlin-noarg:$kotlin_version"
}
}
apply plugin: "kotlin-jpa"

Alternatively, we can use the Gradle plugins section to enable the kotlin-jpa compiler plugin, as follows:

plugins {
id "org.jetbrains.kotlin.plugin.jpa" version "1.2.41"
}
..................Content has been hidden....................

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