Slackbot
12/18/2023, 8:49 PMOctavia Togami
12/18/2023, 10:20 PM19.6 and can't find it in your repositories" error. So you would need to either add a repository with that, or add a constraint for the specific version that you want separately.Ben Madore
12/18/2023, 11:39 PMOctavia Togami
12/18/2023, 11:42 PMstrictly , or you could exclude this specific rule. It would be nice to see the full log so I can provide more specific advice.Ben Madore
12/19/2023, 1:38 AM./gradlew classes works just fine, but assemble fails on bootJarMainClassName. So it’s probably something fun and special that boot itself is doing when it encounters a bom (or maybe specifically its own bom??) as a transitive? 😐Ben Madore
12/19/2023, 1:47 AMproductionRuntimeClasspath that spring boot creates.
runtimeClasspath has the version of spring-boot-dependencies that is applied in the consuming application (2.7.13 downgraded from 3.1.5), but productionRuntimeClasspath has 3.1.5.
./gradlew dependencies --configuration runtimeClasspath
+--- com.glassdoor.employer.managed.content:employer-managed-content-service-service-client:1.1.11
| +--- org.slf4j:slf4j-api:2.0.9 -> 1.7.36
| +--- com.fasterxml.jackson.core:jackson-core:2.15.3 (*)
| +--- com.fasterxml.jackson.core:jackson-databind:2.15.3 (*)
| +--- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.15.3 (*)
| +--- org.openapitools:jackson-databind-nullable:0.2.6 (*)
| +--- org.springframework:spring-context:6.0.13 -> 5.3.28 (*)
| +--- org.springframework:spring-web:6.0.13 -> 5.3.28 (*)
| +--- org.springframework.boot:spring-boot-autoconfigure:3.1.5 -> 2.7.13 (*)
| +--- org.springframework:spring-webflux:6.0.13 -> 5.3.28 (*)
| +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.3 (*)
| +--- io.projectreactor.netty:reactor-netty-http:1.1.12 -> 1.1.8 (*)
| +--- com.fasterxml.jackson.core:jackson-annotations:2.15.3 (*)
| +--- jakarta.validation:jakarta.validation-api:3.0.2
| +--- jakarta.annotation:jakarta.annotation-api:2.1.1
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.20 (*)
| +--- org.springframework.boot:spring-boot-dependencies:3.1.5 -> 2.7.13 (*)
| +--- org.springframework.cloud:spring-cloud-dependencies:2022.0.4 -> 2021.0.7 (*)
| +--- de.codecentric:spring-boot-admin-dependencies:3.1.7 -> 2.7.10 (*)
| +--- org.jetbrains.kotlin:kotlin-bom:1.9.20 -> 1.8.22 (*)
| \--- io.github.resilience4j:resilience4j-bom:2.1.0 -> 2.0.2 (*)
./gradlew dependencies --configuration productionRuntimeClasspath
+--- com.glassdoor.employer.managed.content:employer-managed-content-service-service-client:1.1.11
| +--- org.slf4j:slf4j-api:2.0.9 -> 1.7.36
| +--- com.fasterxml.jackson.core:jackson-core:2.15.3 (*)
| +--- com.fasterxml.jackson.core:jackson-databind:2.15.3 (*)
| +--- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.15.3 (*)
| +--- org.openapitools:jackson-databind-nullable:0.2.6 (*)
| +--- org.springframework:spring-context:6.0.13 (*)
| +--- org.springframework:spring-web:6.0.13 (*)
| +--- org.springframework.boot:spring-boot-autoconfigure:3.1.5 (*)
| +--- org.springframework:spring-webflux:6.0.13 (*)
| +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.3 (*)
| +--- io.projectreactor.netty:reactor-netty-http:1.1.12 (*)
| +--- com.fasterxml.jackson.core:jackson-annotations:2.15.3 (*)
| +--- jakarta.validation:jakarta.validation-api:3.0.2
| +--- jakarta.annotation:jakarta.annotation-api:2.1.1
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.20
| +--- org.springframework.boot:spring-boot-dependencies:3.1.5 (*)
| +--- org.springframework.cloud:spring-cloud-dependencies:2022.0.4 (*)
| +--- de.codecentric:spring-boot-admin-dependencies:3.1.7 (*)
| +--- org.jetbrains.kotlin:kotlin-bom:1.9.20 (*)
| \--- io.github.resilience4j:resilience4j-bom:2.1.0 (*)