-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (39 loc) · 1009 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
plugins {
id "java"
id "application"
}
def optaplannerVersion = "8.13.0.Final"
def logbackVersion = "1.2.3"
group = "org.thon"
version = "0.1.0-SNAPSHOT"
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation platform ("org.optaplanner:optaplanner-bom:${optaplannerVersion}")
implementation "org.optaplanner:optaplanner-core"
implementation "org.optaplanner:optaplanner-examples"
runtimeOnly "ch.qos.logback:logback-classic:${logbackVersion}"
testImplementation "org.optaplanner:optaplanner-test"
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
compileJava {
options.encoding = "UTF-8"
options.compilerArgs << "-parameters"
}
compileTestJava {
options.encoding = "UTF-8"
}
application {
mainClass = "org.thon.sleepshiftsolver.SleepShiftSolverApp"
}
test {
// Log the test execution results.
testLogging {
events "passed", "skipped", "failed"
}
}