| plugins { |
| id "org.springframework.boot" version "2.2.6.RELEASE" |
| id "io.spring.dependency-management" version "1.0.9.RELEASE" |
| id "java" |
| } |
| |
| def optaplannerVersion = "8.1.0.Final" |
| |
| group = "com.example" |
| version = "0.1.0-SNAPSHOT" |
| sourceCompatibility = "11" |
| |
| repositories { |
| mavenCentral() |
| mavenLocal() |
| // To get snapshots during development. Remove this in the "stable" branch (which doesn't use snapshots). |
| 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" |
| runtimeOnly "com.h2database:h2" |
| implementation "org.optaplanner:optaplanner-spring-boot-starter:${optaplannerVersion}" |
| 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" |
| } |
| } |
| |
| test { |
| useJUnitPlatform() |
| } |