forked from team-berlin/Task-Manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
68 lines (58 loc) · 1.53 KB
/
build.gradle.kts
File metadata and controls
68 lines (58 loc) · 1.53 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
plugins {
kotlin("jvm") version "2.1.10"
id("org.jetbrains.kotlinx.kover") version "0.9.1"
}
group = "com.berlin"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("io.insert-koin:koin-core:4.0.4")
implementation ("org.jetbrains.kotlinx:kotlinx-datetime:0.6.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
implementation("com.opencsv:opencsv:5.7.1")
testImplementation(kotlin("test"))
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testImplementation("io.mockk:mockk:1.14.0")
testImplementation("com.google.truth:truth:1.4.4")
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.junit.jupiter:junit-jupiter-params:5.10.0")
implementation("org.mongodb:mongodb-driver-kotlin-coroutine:4.10.1")
implementation("org.mongodb:bson-kotlin:4.10.1")
}
kover {
reports {
filters {
excludes {
classes(
"**.model.**",
"**.di.**",
"**.exception.**",
"**.io.**",
"**.mapper.**",
"**.mongodb.**",
)
}
}
total {
verify {
rule {
minBound(80)
}
}
}
}
}
repositories {
mavenCentral()
}
tasks.named("check") {
dependsOn(tasks.koverVerify)
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(22)
}