blob: 85de66277d9c54fca1fa8909a6820f4610a4ab4f [file] [log] [blame]
plugins {
id "org.springframework.boot" version "2.4.5"
id "io.spring.dependency-management" version "1.0.11.RELEASE"
id "java"
}
def optaplannerVersion = "8.14.1.Final"
group = "org.acme"
version = "0.1.0-SNAPSHOT"
sourceCompatibility = "11"
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://repository.jboss.org/nexus/content/groups/public/"
mavenContent {
snapshotsOnly()
}
}
}
dependencies {
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-data-rest"
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation enforcedPlatform("org.optaplanner:optaplanner-bom:${optaplannerVersion}")
runtimeOnly "com.h2database:h2"
implementation "org.optaplanner:optaplanner-spring-boot-starter"
runtimeOnly "org.webjars:webjars-locator:0.37"
runtimeOnly "org.webjars:bootstrap:4.3.1"
runtimeOnly "org.webjars:font-awesome:5.11.2"
runtimeOnly "org.webjars:momentjs:2.24.0"
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: "org.junit.vintage", module: "junit-vintage-engine"
}
testImplementation("org.optaplanner:optaplanner-test")
testImplementation("org.optaplanner:optaplanner-benchmark")
}
test {
useJUnitPlatform()
// Log the test execution results.
testLogging {
events "passed", "skipped", "failed"
}
}