-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
63 lines (47 loc) · 1.55 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
plugins {
id("org.jetbrains.kotlin.jvm") version "1.6.10"
application
}
repositories {
mavenCentral()
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
}
compileTestKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
}
}
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
// Logging
implementation("io.github.microutils:kotlin-logging-jvm:2.1.21")
implementation("ch.qos.logback:logback-classic:1.2.11")
// Command line parsing
implementation("com.github.ajalt.clikt:clikt-jvm:3.4.0")
// Terminal colors
implementation("io.github.alexarchambault.windows-ansi:windows-ansi:0.0.3")
implementation("com.github.ajalt.mordant:mordant-jvm:2.0.0-beta5")
// JSON Config file loading
// See: https://github.com/square/moshi
implementation("com.squareup.moshi:moshi-kotlin:1.13.0")
// Kotlin JUnit Tests
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
// JUnit 5
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.2")
// Mockk Mock-Framework
testImplementation("io.mockk:mockk:1.12.3")
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
application {
mainClass.set("com.framstag.taskdown.TaskDownKt")
}