diff --git a/build.gradle.kts b/build.gradle.kts index abfc044..80d7ccd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,6 +3,7 @@ plugins { kotlin("plugin.spring") version "2.2.21" id("org.springframework.boot") version "4.0.0" id("io.spring.dependency-management") version "1.1.7" + kotlin("plugin.jpa") version "2.2.21" } group = "net.halfbinary" @@ -47,6 +48,12 @@ kotlin { } } +allOpen { + annotation("jakarta.persistence.Entity") + annotation("jakarta.persistence.MappedSuperclass") + annotation("jakarta.persistence.Embeddable") +} + tasks.withType { useJUnitPlatform() }