-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
41 lines (33 loc) · 1.03 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
import kotlinx.kover.api.KoverTaskExtension
import org.jlleitschuh.gradle.ktlint.KtlintPlugin
plugins {
kotlin("jvm") version "1.7.0"
idea
id("org.jlleitschuh.gradle.ktlint") version "10.3.0" apply false
id("org.jetbrains.kotlinx.kover") version "0.5.0"
}
allprojects {
group = "eu.dcotta.confis"
repositories {
mavenCentral()
}
}
subprojects {
apply<KtlintPlugin>()
apply(plugin = "org.jetbrains.kotlin.jvm")
dependencies {
//"implementation"("io.github.microutils:kotlin-logging-jvm:2.1.20")
val kotestVersion = "5.3.1"
testImplementation("io.kotest:kotest-runner-junit5:$kotestVersion")
testImplementation("io.kotest:kotest-assertions-core:$kotestVersion")
val mockkVerison = "1.12.3"
testImplementation("io.mockk:mockk:$mockkVerison")
}
tasks.test {
useJUnitPlatform()
extensions.configure(KoverTaskExtension::class) {
isDisabled = false
excludes = listOf("eu.dcotta.confis.plugin.*")
}
}
}