plugins { } allOpen { // ref. https://dev-gorany.tistory.com/361 annotation("javax.persistence.Entity") annotation("javax.persistence.Embeddable") annotation("javax.persistence.MappedSuperclass") } noArg { annotation("javax.persistence.Entity") // @Entity가 붙은 클래스에 한해서만 no arg 플러그인을 적용 annotation("javax.persistence.Embeddable") annotation("javax.persistence.MappedSuperclass") } dependencies { }