From 55a8485a7fe7bae5d477bf66b2f649100aeb54ff Mon Sep 17 00:00:00 2001 From: johnspade Date: Mon, 6 May 2019 12:33:47 +0300 Subject: [PATCH] Enable the all-open compiler plugin for @Embeddable and @MappedSuperclass --- README.adoc | 4 ++++ build.gradle | 2 ++ pom.xml | 2 ++ 3 files changed, 8 insertions(+) diff --git a/README.adoc b/README.adoc index f45a449..2d381f7 100644 --- a/README.adoc +++ b/README.adoc @@ -545,6 +545,8 @@ apply plugin: 'kotlin-allopen' allOpen { annotation("javax.persistence.Entity") + annotation('javax.persistence.Embeddable') + annotation('javax.persistence.MappedSuperclass') } ---- @@ -563,6 +565,8 @@ Or with Maven: + + diff --git a/build.gradle b/build.gradle index e74caa2..ba51af6 100644 --- a/build.gradle +++ b/build.gradle @@ -40,6 +40,8 @@ compileTestKotlin { allOpen { annotation('javax.persistence.Entity') + annotation('javax.persistence.Embeddable') + annotation('javax.persistence.MappedSuperclass') } repositories { diff --git a/pom.xml b/pom.xml index d2eb696..f10d646 100644 --- a/pom.xml +++ b/pom.xml @@ -111,6 +111,8 @@ + +