-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle.kts
30 lines (25 loc) · 1023 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
@Suppress("DSL_SCOPE_VIOLATION") // TODO remove when https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
plugins {
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.kotlin.jpa)
// which produces test fixtures
`java-test-fixtures`
}
dependencies {
// Use Kotlin Serialization
implementation(libs.bundles.kotlinx.serialization.all) // JSON, ProtoBuf, Avro serialization
// implementation(libs.kotlinx.serialization.yaml) // YAML serialization
// for validation annotations
implementation(libs.jakarta.validation)
// Testing
testImplementation(testFixtures(projects.libs.test))
testImplementation(libs.kotlinx.coroutines.test)
}
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")
annotation("org.springframework.data.relational.core.mapping.Table")
}