forked from JesperVa/KDex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
60 lines (49 loc) · 1.15 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
54
55
56
57
58
59
60
import com.adarshr.gradle.testlogger.theme.ThemeType
plugins {
kotlin("jvm") version Versions.kotlin
id("com.adarshr.test-logger") version "3.2.0"
id("org.cqfn.diktat.diktat-gradle-plugin") version "1.1.0"
application
}
group = "se.vallett"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testImplementation(kotlin("test"))
testImplementation("io.kotest:kotest-assertions-core:${Versions.kotest}")
implementation("io.ktor:ktor-client-core:${Versions.ktor}")
implementation("io.ktor:ktor-client-okhttp:${Versions.ktor}")
}
testlogger {
theme = ThemeType.MOCHA
showSummary = true
showOnlySlow = false
}
diktat {
githubActions = true
}
tasks {
compileKotlin {
kotlinOptions {
jvmTarget = Versions.jvm
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = Versions.jvm
}
}
test {
useJUnitPlatform {
excludeTags("integration")
}
}
register<Test>("integrationTest") {
group = "verification"
useJUnitPlatform() {
includeTags("integration")
}
}
}