Enable the all-open compiler plugin for @Embeddable and @MappedSuperclass
This commit is contained in:
committed by
Sébastien Deleuze
parent
3d4b305b04
commit
55a8485a7f
@@ -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:
|
||||
</compilerPlugins>
|
||||
<pluginOptions>
|
||||
<option>all-open:annotation=javax.persistence.Entity</option>
|
||||
<option>all-open:annotation=javax.persistence.Embeddable</option>
|
||||
<option>all-open:annotation=javax.persistence.MappedSuperclass</option>
|
||||
</pluginOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
Reference in New Issue
Block a user