-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
49 lines (41 loc) · 1022 Bytes
/
build.gradle.kts
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
import org.sourcegrade.submitter.submit
plugins {
java
application
id("org.sourcegrade.submitter").version("0.4.0")
}
submit {
assignmentId = "h13" // do not change assignmentId
studentId = null // TU-ID z.B. "ab12cdef"
firstName = null
lastName = null
// Optionally require tests for prepareSubmission task. Default is true
requireTests = true
}
// !! Achtung !!
// Die studentId (TU-ID) ist keine Matrikelnummer
// Richtig z.B. ab12cdef
// Falsch z.B. 1234567
repositories {
mavenCentral()
}
dependencies {
// JUnit only available in "test" source set (./src/test)
implementation("com.formdev:flatlaf:2.0.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
}
application {
mainClass.set("h13.TwoSimpleWindows")
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
tasks {
withType<JavaCompile> {
options.encoding = "UTF-8"
}
test {
useJUnitPlatform()
}
}