@@ -40,8 +40,9 @@ group = "com.cosmotech"
4040version = scmVersion.version
4141
4242val kotlinJvmTarget = 17
43- val cosmotechApiCommonVersion = " 0.1.1-SNAPSHOT"
44- val cosmotechApiAzureVersion = " 0.1.2-SNAPSHOT"
43+ val cosmotechApiCommonVersion = " 0.1.2-SNAPSHOT"
44+ val cosmotechApiAzureVersion = " 0.1.4-SNAPSHOT"
45+ val azureSpringBootBomVersion = " 3.14.0"
4546
4647allprojects {
4748 apply (plugin = " com.diffplug.spotless" )
@@ -190,7 +191,6 @@ subprojects {
190191
191192 implementation(" org.zalando:problem-spring-web-starter:0.27.0" )
192193
193- api(" com.azure.spring:azure-spring-boot-starter-cosmos:3.1.0" )
194194 implementation(" org.springframework.boot:spring-boot-starter-security" )
195195 implementation(" org.springframework.security:spring-security-oauth2-jose:5.6.3" )
196196 implementation(" org.springframework.security:spring-security-oauth2-resource-server:5.6.3" )
@@ -213,7 +213,17 @@ subprojects {
213213 developmentOnly(" org.springframework.boot:spring-boot-devtools" )
214214
215215 api(" com.github.Cosmo-Tech:cosmotech-api-common:$cosmotechApiCommonVersion " )
216- api(" com.github.Cosmo-Tech:cosmotech-api-azure:$cosmotechApiAzureVersion " )
216+ api(" com.github.Cosmo-Tech:cosmotech-api-azure:$cosmotechApiAzureVersion " ) {
217+ exclude(group = " org.slf4j" , module = " slf4j-api" )
218+ because(
219+ " this depends on org.slf4j:slf4j-api 1.8.0-beta4 (pre 2.x)," +
220+ " which is not backward-compatible with 1.7.x." +
221+ " See http://www.slf4j.org/faq.html#changesInVersion200" )
222+ }
223+
224+
225+ implementation(platform(" com.azure.spring:azure-spring-boot-bom:$azureSpringBootBomVersion " ))
226+ api(" com.azure.spring:azure-spring-boot-starter-cosmos" )
217227 }
218228
219229 tasks.withType<KotlinCompile > {
0 commit comments