-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
48 lines (40 loc) · 962 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
import org.sourcegrade.submitter.submit
plugins {
java
application
id("org.sourcegrade.submitter").version("0.4.0")
}
submit {
assignmentId = "h08" // 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)
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
application {
mainClass.set("h08.Main")
}
tasks {
withType<JavaCompile> {
options.encoding = "UTF-8"
}
test {
useJUnitPlatform()
}
}