Adds open class options for Spring

This commit is contained in:
2025-12-03 21:34:39 -06:00
parent 5563c0c774
commit 78489010be

View File

@@ -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<Test> {
useJUnitPlatform()
}