-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (34 loc) · 973 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
43
44
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.7.10"
application
}
group = "ghasemdev"
version = "1.0.0"
repositories {
mavenCentral()
}
dependencies {
// Logging
implementation("io.github.aakira:napier:2.6.1")
// Assertion Test
testImplementation("com.google.truth:truth:1.1.3")
// Test Framework
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
// Kotest
testImplementation("io.kotest:kotest-assertions-core:5.3.1")
testImplementation("io.kotest:kotest-property:5.3.1")
testImplementation("io.kotest:kotest-runner-junit5:5.3.1")
// Reflection
testImplementation("org.jetbrains.kotlin:kotlin-reflect:1.7.10")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
}
application {
mainClass.set("MainKt")
}