-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
53 lines (43 loc) · 1.14 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version Versions.kotlin
id("application")
id("idea")
}
group = "marregui.kotlinkoans"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(Libs.kotlinCoroutines)
implementation(Libs.kotlinReflect)
implementation(Libs.sparkJava)
implementation(Libs.gson)
implementation(Libs.slf4jApi)
implementation(Libs.slf4jLog4jBinding)
testImplementation(Libs.junitJupiter)
testImplementation(Libs.junitJupiterApi)
testImplementation(Libs.junitJupiterEngine)
testImplementation(Libs.hamcrest)
testImplementation(Libs.mokitoCore)
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}
application {
mainClass.set("kotlinkoans.GameOfLife")
}
tasks.named<Wrapper>("wrapper") {
gradleVersion = "6.8"
distributionType = Wrapper.DistributionType.ALL
}
tasks.named<Test>("test") {
useJUnitPlatform()
}