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")) }