-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle.kts
44 lines (37 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
@Suppress("DSL_SCOPE_VIOLATION") // TODO remove when https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
plugins {
alias(libs.plugins.kotlin.noarg)
alias(libs.plugins.kotlin.spring)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.spring.boot)
alias(libs.plugins.spring.dependencyManagement)
`java-test-fixtures`
}
dependencies {
// Spring
implementation(libs.bundles.spring.basic)
// 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" }
noArg {
invokeInitializers = true
annotation("micro.apps.model.NoArg")
annotation("com.redis.om.spring.annotations.Document")
annotation("org.springframework.data.redis.core.RedisHash")
}