1313 set(' springCloudVersion' , ' 2025.1.1' )
1414 set(' testcontainersVersion' , ' 2.0.3' )
1515 set(' springBootVersion' , ' 4.0.2' )
16+ set(' wiremockVersion' , ' 3.13.2' )
17+ set(' mockkVersion' , ' 1.14.9' )
18+ set(' querydslMongodbVersion' , ' 5.1.0' )
19+ set(' springmockkVersion' , ' 4.0.2' )
20+ set(' logbackVersion' , ' 1.5.30' )
21+ set(' springdocVersion' , ' 3.0.1' )
22+ set(' logbackAppenderVersion' , ' 2.25.0-alpha' )
23+ set(' postgresqlVersion' , ' 42.7.10' )
24+ set(' junitPlatformLauncherVersion' , ' 6.0.3' )
25+ set(' micrometerRegistryPrometheusVersion' , ' 1.16.3' )
26+ set(' springSecurityTestVersion' , ' 7.0.3' )
27+ set(' springResilience4jVersion' , ' 5.0.1' )
28+ set(' micrometerTracingBridgeOtelVersion' , ' 1.6.3' )
29+ set(' micrometerContextPropagationVersion' , ' 1.2.1' )
30+ set(' nettyResolverDnsNativeMacosVersion' , ' 4.2.3.Final' )
1631}
1732
1833group = ' com.softeno'
@@ -56,18 +71,18 @@ dependencies {
5671 testImplementation " org.springframework.boot:spring-boot-starter-webflux-test:${ springBootVersion} "
5772 testImplementation " org.springframework.boot:spring-boot-webtestclient:${ springBootVersion} "
5873 testImplementation " org.springframework.boot:spring-boot-starter-jackson-test:${ springBootVersion} "
74+ testImplementation " io.mockk:mockk:${ mockkVersion} "
75+ testImplementation " com.ninja-squad:springmockk:${ springmockkVersion} "
76+ testRuntimeOnly " org.junit.platform:junit-platform-launcher:${ junitPlatformLauncherVersion} "
5977 testImplementation ' io.projectreactor:reactor-test'
60- testImplementation ' io.mockk:mockk:1.14.9'
61- testImplementation ' com.ninja-squad:springmockk:4.0.2'
62- testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
6378 testImplementation ' org.jetbrains.kotlinx:kotlinx-coroutines-test'
6479 testImplementation ' org.jetbrains.kotlin:kotlin-test-junit5'
6580
6681 // security
6782 implementation " org.springframework.boot:spring-boot-starter-oauth2-client:${ springBootVersion} "
6883 implementation " org.springframework.boot:spring-boot-starter-oauth2-resource-server:${ springBootVersion} "
6984 implementation " org.springframework.boot:spring-boot-starter-security:${ springBootVersion} "
70- testImplementation " org.springframework.security:spring-security-test:7.0.3 "
85+ testImplementation " org.springframework.security:spring-security-test:${ springSecurityTestVersion } "
7186
7287 // testcontainers
7388 testImplementation " org.springframework.boot:spring-boot-testcontainers:${ springBootVersion} "
@@ -76,13 +91,13 @@ dependencies {
7691 testImplementation " org.testcontainers:testcontainers-junit-jupiter:${ testcontainersVersion} "
7792
7893 // wiremock
79- testImplementation ' org.wiremock:wiremock-standalone:3.13.2 '
94+ testImplementation " org.wiremock:wiremock-standalone:${ wiremockVersion } "
8095
8196 // guerydsl
82- implementation (' com.querydsl:querydsl-mongodb:5.1.0 ' ) {
97+ implementation (" com.querydsl:querydsl-mongodb:${ querydslMongodbVersion } " ) {
8398 exclude group : ' org.mongodb' , module : ' mongo-java-driver'
8499 }
85- kapt group : ' com.querydsl' , name : ' querydsl-apt' , version : ' 5.1.0 '
100+ kapt group : ' com.querydsl' , name : ' querydsl-apt' , version : " ${ querydslMongodbVersion } "
86101
87102 // graphql
88103 implementation " org.springframework.boot:spring-boot-starter-graphql:${ springBootVersion} "
@@ -93,27 +108,27 @@ dependencies {
93108 testImplementation " org.springframework.kafka:spring-kafka-test:${ springBootVersion} "
94109
95110 // circuit breaker
96- implementation ' org.springframework.cloud:spring-cloud-starter-circuitbreaker-reactor-resilience4j'
111+ implementation " org.springframework.cloud:spring-cloud-starter-circuitbreaker-reactor-resilience4j: ${ springResilience4jVersion } "
97112
98113 // macOs ARM only
99114 if (osdetector. classifier == " osx-aarch_64" ) {
100- runtimeOnly(" io.netty:netty-resolver-dns-native-macos:4.2.3.Final :${ osdetector.classifier} " )
115+ runtimeOnly(" io.netty:netty-resolver-dns-native-macos:${ nettyResolverDnsNativeMacosVersion } :${ osdetector.classifier} " )
101116 }
102117
103118 // springdoc
104- implementation ' org.springdoc:springdoc-openapi-starter-common:3.0.1 '
105- implementation ' org.springdoc:springdoc-openapi-starter-webflux-ui:3.0.1 '
119+ implementation " org.springdoc:springdoc-openapi-starter-common:${ springdocVersion } "
120+ implementation " org.springdoc:springdoc-openapi-starter-webflux-ui:${ springdocVersion } "
106121
107122 // monitoring
108- runtimeOnly ' io.micrometer:micrometer-registry-prometheus'
123+ runtimeOnly " io.micrometer:micrometer-registry-prometheus: ${ micrometerRegistryPrometheusVersion } "
109124 implementation " org.springframework.boot:spring-boot-starter-actuator:${ springBootVersion} "
110125
111126 // opentelemetry
112127 implementation " org.springframework.boot:spring-boot-starter-opentelemetry:${ springBootVersion} "
113128 testImplementation " org.springframework.boot:spring-boot-starter-opentelemetry-test:${ springBootVersion} "
114- implementation " io.opentelemetry.instrumentation:opentelemetry-logback-appender-1.0:2.25.0-alpha "
115- implementation " io.micrometer:micrometer-tracing-bridge-otel"
116- implementation " io.micrometer:context-propagation"
129+ implementation " io.opentelemetry.instrumentation:opentelemetry-logback-appender-1.0:${ logbackAppenderVersion } "
130+ implementation " io.micrometer:micrometer-tracing-bridge-otel: ${ micrometerTracingBridgeOtelVersion } "
131+ implementation " io.micrometer:context-propagation: ${ micrometerContextPropagationVersion } "
117132}
118133
119134dependencyManagement {
0 commit comments