Skip to content

Commit

Permalink
sync pom.xml and build.gradle (java native)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 committed Oct 23, 2024
1 parent f789333 commit 6fbf9a7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ ext {
swagger_annotations_version = "2.2.9"
{{/swagger2AnnotationLibrary}}
jackson_version = "2.17.1"
{{#useJakartaEe}}
jakarta_annotation_version = "2.1.1"
beanvalidation_version = "3.0.2"
{{/useJakartaEe}}
{{^useJakartaEe}}
jakarta_annotation_version = "1.3.5"
beanvalidation_version = "2.0.2"
{{/useJakartaEe}}
junit_version = "5.10.2"
{{#hasFormParamsInSpec}}
httpmime_version = "4.5.13"
Expand All @@ -94,6 +101,9 @@ dependencies {
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
implementation "org.openapitools:jackson-databind-nullable:0.2.1"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
{{#useBeanValidation}}
implementation "jakarta.validation:jakarta.validation-api:$beanvalidation_version"
{{/useBeanValidation}}
{{#hasFormParamsInSpec}}
implementation "org.apache.httpcomponents:httpmime:$httpmime_version"
{{/hasFormParamsInSpec}}
Expand Down
1 change: 1 addition & 0 deletions samples/client/echo_api/java/native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ artifacts {
ext {
jackson_version = "2.17.1"
jakarta_annotation_version = "1.3.5"
beanvalidation_version = "2.0.2"
junit_version = "5.10.2"
httpmime_version = "4.5.13"
}
Expand Down
1 change: 1 addition & 0 deletions samples/client/petstore/java/native-async/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ artifacts {
ext {
jackson_version = "2.17.1"
jakarta_annotation_version = "1.3.5"
beanvalidation_version = "2.0.2"
junit_version = "5.10.2"
httpmime_version = "4.5.13"
}
Expand Down
3 changes: 2 additions & 1 deletion samples/client/petstore/java/native-jakarta/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ artifacts {

ext {
jackson_version = "2.17.1"
jakarta_annotation_version = "1.3.5"
jakarta_annotation_version = "2.1.1"
beanvalidation_version = "3.0.2"
junit_version = "5.10.2"
httpmime_version = "4.5.13"
}
Expand Down
1 change: 1 addition & 0 deletions samples/client/petstore/java/native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ artifacts {
ext {
jackson_version = "2.17.1"
jakarta_annotation_version = "1.3.5"
beanvalidation_version = "2.0.2"
junit_version = "5.10.2"
httpmime_version = "4.5.13"
}
Expand Down

0 comments on commit 6fbf9a7

Please sign in to comment.