-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
51 lines (41 loc) · 1.35 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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.9.20"
id("com.google.devtools.ksp") version "1.9.0-1.0.13"
application
}
group = "dev.rivu.courses"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
google()
}
dependencies {
val kotestVersion = "5.8.0"
testImplementation(kotlin("test"))
implementation("io.arrow-kt:arrow-core:1.2.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0-RC")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
testImplementation("io.mockk:mockk:1.13.9")
testImplementation("io.kotest:kotest-runner-junit5:$kotestVersion")
testImplementation("io.kotest:kotest-property:$kotestVersion")
testImplementation("io.kotest.extensions:kotest-property-arbs:2.1.2")
testImplementation("io.kotest.extensions:kotest-assertions-arrow:1.4.0")
//implementation("io.insert-koin:koin-core:3.5.3")
ksp("me.tatarka.inject:kotlin-inject-compiler-ksp:0.6.3")
implementation("me.tatarka.inject:kotlin-inject-runtime:0.6.3")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(11)
}
application {
mainClass.set("MainKt")
}
tasks.getByName("assemble") {
dependsOn(tasks.getByName("test"))
}