-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
37 lines (32 loc) · 1.34 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
// this platform is shared in the main build
plugins {
id("java-platform")
}
group = "poc.cx.glp"
javaPlatform {
allowDependencies()
}
// add bom, gradle platforms, and dependencies to the shared libs.version.toml first
// then add them here using the version catalog
dependencies {
// maven bom or gradle platform should have been added here with api(platform())
// but since this platform is imported to every other project by being imported at root jvm plugin,
// we don't want version conflict to happen from multiple api(platform()).
// add your api() here to manage dependencies not defined in a bom or gradle platform
constraints {
// maven bom or gradle platform
api(libs.bom.kotest)
// here, we prefer spring boot's version management for non-spring projects.
// you can replace it with something else (like micronaut bom) if you want
// see https://docs.spring.io/spring-boot/docs/current/reference/html/dependency-versions.html
// to check what lib is included
api(libs.bom.springBoot)
api(libs.bom.coroutines) // enable if spring screws up coroutines
// main build dependencies, be used in the actual app and lib build.gradle.kts
api(libs.dep.kotlinJvmInlineLogging)
api(libs.dep.kotestExtensionsSpring)
api(libs.dep.mockitoKotlin)
api(libs.dep.mockk)
api(libs.dep.springMockk)
}
}