[Java][RestTemplate] Gradle Build include non-compatible Spring Dependency with jakarta disabled (#21426)

* [Java][resttemplate] fix spring-web dependency for gradle without jakarta enabled

* fix samples
This commit is contained in:
Steven Blakowski
2025-06-19 10:11:37 +02:00
committed by GitHub
parent 8d8e3ddf16
commit cef971cf9a
83 changed files with 94 additions and 63 deletions

View File

@@ -102,11 +102,12 @@ if(hasProperty('target') && target == 'android') {
}
ext {
swagger_annotations_version = "1.6.9"
jakarta_annotation_version = "1.3.5"
}
dependencies {
implementation 'io.swagger:swagger-annotations:1.6.8'
implementation "io.swagger:swagger-annotations:$swagger_annotations_version"
implementation "com.google.code.findbugs:jsr305:3.0.2"
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'