forked from YoonKyonghwan/CFS_WCRT_Analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
45 lines (38 loc) · 1.25 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
45 lines (38 loc) · 1.25 KB
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
plugins {
// Apply the groovy plugin to also add support for Groovy (needed for Spock)
groovy
// Apply the application plugin to add support for building a CLI application in Java.
application
id("java")
id("io.ktor.plugin") version "2.3.5"
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
// Use the latest Groovy version for Spock testing
testImplementation("org.codehaus.groovy:groovy:3.0.13")
// Use the awesome Spock testing and specification framework even with Java
testImplementation("org.spockframework:spock-core:2.2-groovy-3.0")
testImplementation("junit:junit:4.13.2")
// The dependencies are used by the application.
implementation("com.google.code.gson:gson:2.8.9")
implementation("org.jfree:jfreechart:1.5.4")
implementation("com.google.guava:guava:31.1-jre")
implementation("net.sourceforge.argparse4j:argparse4j:0.9.0")
implementation("commons-io:commons-io:2.6")
}
application {
// Define the main class for the application.
mainClass.set("org.cap.Main")
}
ktor {
fatJar {
archiveFileName.set("run.jar")
}
}
tasks.named<Test>("test") {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}