mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-21 06:07:08 +00:00
[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:
@@ -102,11 +102,12 @@ if(hasProperty('target') && target == 'android') {
|
||||
}
|
||||
|
||||
ext {
|
||||
swagger_annotations_version = "2.2.9"
|
||||
jakarta_annotation_version = "1.3.5"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'io.swagger:swagger-annotations:1.6.8'
|
||||
implementation "io.swagger.core.v3: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'
|
||||
|
||||
0
samples/client/petstore/java/okhttp-gson-swagger2/gradlew
vendored
Normal file → Executable file
0
samples/client/petstore/java/okhttp-gson-swagger2/gradlew
vendored
Normal file → Executable file
Reference in New Issue
Block a user