mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
26 lines
923 B
Groovy
26 lines
923 B
Groovy
plugins {
|
|
id "java"
|
|
id "org.springframework.boot.conventions"
|
|
}
|
|
|
|
description = "Spring Boot JPA smoke test"
|
|
|
|
dependencies {
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-freemarker"))
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
|
|
implementation("jakarta.persistence:jakarta.persistence-api")
|
|
if (JavaVersion.current().java9Compatible) {
|
|
implementation("jakarta.xml.bind:jakarta.xml.bind-api")
|
|
}
|
|
implementation("org.hibernate:hibernate-core") {
|
|
exclude group: "javax.activation", module: "javax.activation-api"
|
|
exclude group: "javax.persistence", module: "javax.persistence-api"
|
|
exclude group: "javax.xml.bind", module: "jaxb-api"
|
|
}
|
|
implementation("org.springframework:spring-orm")
|
|
|
|
runtimeOnly("com.h2database:h2")
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
|
}
|