-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle.kts
36 lines (30 loc) · 930 Bytes
/
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
@Suppress("DSL_SCOPE_VIOLATION") // TODO remove when https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
plugins {
alias(libs.plugins.kotlin.spring)
alias(libs.plugins.spring.boot)
alias(libs.plugins.spring.dependencyManagement)
`java-test-fixtures`
}
dependencies {
implementation(projects.libs.core)
// Spring
implementation(libs.bundles.spring.graphql)
// Test
testImplementation(testFixtures(projects.libs.test))
testImplementation(libs.spring.boot.starter.test) {
exclude(module = "mockito-core")
}
testImplementation(libs.spring.boot.reactor.test)
testImplementation(libs.spring.boot.mockk.test)
testImplementation(libs.kotest.assertions.json.jvm)
testImplementation(libs.kotest.extensions.spring)
}
tasks {
bootJar {
enabled = false
}
jar {
enabled = true
}
}
affectedTestConfiguration { jvmTestTask = "check" }