Phillip Webb e0013454b5 Use parentheses when declaring dependencies
Update all dependencies declarations to use the form `scope(reference)`
rather than `scope reference`.

Prior to this commit we declared dependencies without parentheses unless
we were forced to add them due to an `exclude`.
2020-01-22 16:02:38 -08:00

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