forked from exercism/kotlin-test-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
42 lines (31 loc) · 915 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.9.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
application
}
repositories {
mavenLocal()
mavenCentral()
maven("https://jitpack.io")
}
dependencies {
val version = object {
val moshi = "1.9.2"
}
implementation(kotlin("stdlib-jdk8"))
implementation("com.xenomachina:kotlin-argparser:2.0.7")
implementation("com.squareup.moshi:moshi:${version.moshi}")
implementation("com.squareup.moshi:moshi-kotlin:${version.moshi}")
implementation("org.dom4j:dom4j:2.1.1")
testImplementation("io.kotlintest:kotlintest-runner-junit5:3.3.0")
}
tasks.withType<Test> {
useJUnitPlatform()
}
application {
mainClass.set("exercism.kotlin.autotests.runner.MainKt")
}
tasks.withType<ShadowJar> {
archiveFileName.set("autotest-runner.jar")
}