From 78489010be14d73258be9d0c239eb6f6ef14b46e Mon Sep 17 00:00:00 2001 From: aarbit Date: Wed, 3 Dec 2025 21:34:39 -0600 Subject: [PATCH] Adds open class options for Spring --- build.gradle.kts | 7 +++++++ 1 file changed, 7 insertions(+) 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() }