| def optaplannerVersion = "8.43.0.Final" |
| def logbackVersion = "1.2.11" |
| def junitJupiterVersion = "5.9.0" |
| def assertjVersion = "3.24.2" |
| url "https://repository.jboss.org/nexus/content/groups/public/" |
| implementation platform("org.optaplanner:optaplanner-bom:${optaplannerVersion}") |
| implementation "org.optaplanner:optaplanner-core" |
| testImplementation "org.optaplanner:optaplanner-test" |
| testImplementation "org.junit.jupiter:junit-jupiter:${junitJupiterVersion}" |
| testImplementation "org.assertj:assertj-core:${assertjVersion}" |
| runtimeOnly "ch.qos.logback:logback-classic:${logbackVersion}" |
| sourceCompatibility = JavaVersion.VERSION_11 |
| targetCompatibility = JavaVersion.VERSION_11 |
| options.encoding = "UTF-8" |
| options.compilerArgs << "-parameters" |
| options.encoding = "UTF-8" |
| mainClass = "org.acme.schooltimetabling.TimeTableApp" |
| // Log the test execution results. |
| events "passed", "skipped", "failed" |