-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
48 lines (40 loc) · 977 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.jagrkt.submitter.submit
plugins {
java
application
id("org.jagrkt.submitter").version("0.3.1")
}
submit {
assignmentId = "H06" // do not change assignmentId
studentId = "hb68rasy" // TU-ID z.B. "ab12cdef"
firstName = "Henrik"
lastName = "Bornemann"
// Optionally require tests for prepareSubmission task. Default is true
requireTests = false
}
// !! 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.7.1")
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
application {
mainClass.set("h06.Main")
}
tasks {
create<Jar>("prepareSubmission-Old__Use_The_One_Under_Submit_Instead") {
dependsOn("prepareSubmission")
}
test {
useJUnitPlatform()
}
}