-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
61 lines (47 loc) · 1.09 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
61
group = "br.com.semudando"
version = "0.1.0"
@Suppress("DSL_SCOPE_VIOLATION") //KTIJ-19369
plugins {
alias(libs.plugins.kotlin)
alias(libs.plugins.kotlinx.serialization)
alias(libs.plugins.detekt)
idea
}
repositories {
mavenCentral()
}
sourceSets {
create("integrationTest") {
compileClasspath += configurations.testCompileClasspath + sourceSets.main.get().output + sourceSets.test.get().output
runtimeClasspath += configurations.testRuntimeClasspath + sourceSets.main.get().output + sourceSets.test.get().output
}
}
idea {
module {
testSources.from(sourceSets["integrationTest"].kotlin.srcDirs)
}
}
dependencies {
// Jackson
implementation(libs.bundles.jackson)
// Ktor Client
implementation(libs.bundles.ktor.client)
// Classgraph
implementation(libs.classgraph)
// Kotest
testImplementation(libs.bundles.kotest)
// Mockk
testImplementation(libs.mockk)
// Log
implementation(libs.slf4j.simple)
testImplementation(libs.mongodb.container)
}
kotlin {
explicitApi()
}
tasks.withType<Test> {
useJUnitPlatform()
}
detekt {
autoCorrect = true
}