You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jpa/build.gradle

26 lines
917 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")
}