-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
55 lines (44 loc) · 1.34 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.4.31"
kotlin("plugin.serialization") version "1.4.31"
id("com.github.johnrengelman.shadow") version "6.1.0"
application
}
group = "dev.remylavergne"
version = "0.0.4-alpha"
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.0")
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.5.0")
implementation(project(":Ktoggl"))
implementation("com.github.ajalt.clikt:clikt:3.1.0")
testImplementation("io.kotest:kotest-runner-junit5:4.4.3")
testImplementation(kotlin("test-junit"))
testImplementation("io.kotest:kotest-assertions-core:4.4.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0-RC")
// Excel
implementation("org.apache.poi:poi-ooxml:4.1.2")
}
tasks.test {
useJUnit()
useJUnitPlatform()
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
}
application {
mainClassName = "dev.remylavergne.togglsheet.MainKt"
}
tasks.shadowJar {
archiveBaseName.set("ktoggl-cli")
archiveClassifier.set("")
archiveVersion.set(version)
manifest {
attributes(mapOf("Main-Class" to application.mainClassName))
}
minimize()
}