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-hibe.../build.gradle

23 lines
562 B
Groovy

plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Hibernate 5.2 smoke test"
configurations.all {
resolutionStrategy {
force "org.hibernate:hibernate-core:5.2.17.Final"
}
}
dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-jpa")) {
exclude group: "org.hibernate.javax.persistence", module: "hibernate-jpa-2.1-api"
}
runtimeOnly("com.h2database:h2")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
}