forked from loafle/openapi-generator-original
Test build.gradle for java native petstore samples, sync pom.xml & build.gradle (#19951)
* test build.gradle for java native petstore samples * trigger build * sync pom.xml and build.gradle (java native)
This commit is contained in:
parent
21093b78c6
commit
511316a966
2
.github/workflows/gradle-test.yaml
vendored
2
.github/workflows/gradle-test.yaml
vendored
@ -29,6 +29,8 @@ jobs:
|
|||||||
- samples/client/petstore/java/okhttp-gson
|
- samples/client/petstore/java/okhttp-gson
|
||||||
- samples/client/petstore/java/okhttp-gson-group-parameter
|
- samples/client/petstore/java/okhttp-gson-group-parameter
|
||||||
- samples/client/petstore/java/webclient-swagger2
|
- samples/client/petstore/java/webclient-swagger2
|
||||||
|
- samples/client/petstore/java/native
|
||||||
|
- samples/client/petstore/java/native-jakarta
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
|
@ -73,7 +73,14 @@ ext {
|
|||||||
swagger_annotations_version = "2.2.9"
|
swagger_annotations_version = "2.2.9"
|
||||||
{{/swagger2AnnotationLibrary}}
|
{{/swagger2AnnotationLibrary}}
|
||||||
jackson_version = "2.17.1"
|
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"
|
jakarta_annotation_version = "1.3.5"
|
||||||
|
beanvalidation_version = "2.0.2"
|
||||||
|
{{/useJakartaEe}}
|
||||||
junit_version = "5.10.2"
|
junit_version = "5.10.2"
|
||||||
{{#hasFormParamsInSpec}}
|
{{#hasFormParamsInSpec}}
|
||||||
httpmime_version = "4.5.13"
|
httpmime_version = "4.5.13"
|
||||||
@ -94,6 +101,9 @@ dependencies {
|
|||||||
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
||||||
implementation "org.openapitools:jackson-databind-nullable:0.2.1"
|
implementation "org.openapitools:jackson-databind-nullable:0.2.1"
|
||||||
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
|
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
|
||||||
|
{{#useBeanValidation}}
|
||||||
|
implementation "jakarta.validation:jakarta.validation-api:$beanvalidation_version"
|
||||||
|
{{/useBeanValidation}}
|
||||||
{{#hasFormParamsInSpec}}
|
{{#hasFormParamsInSpec}}
|
||||||
implementation "org.apache.httpcomponents:httpmime:$httpmime_version"
|
implementation "org.apache.httpcomponents:httpmime:$httpmime_version"
|
||||||
{{/hasFormParamsInSpec}}
|
{{/hasFormParamsInSpec}}
|
||||||
|
@ -68,6 +68,7 @@ artifacts {
|
|||||||
ext {
|
ext {
|
||||||
jackson_version = "2.17.1"
|
jackson_version = "2.17.1"
|
||||||
jakarta_annotation_version = "1.3.5"
|
jakarta_annotation_version = "1.3.5"
|
||||||
|
beanvalidation_version = "2.0.2"
|
||||||
junit_version = "5.10.2"
|
junit_version = "5.10.2"
|
||||||
httpmime_version = "4.5.13"
|
httpmime_version = "4.5.13"
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,7 @@ artifacts {
|
|||||||
ext {
|
ext {
|
||||||
jackson_version = "2.17.1"
|
jackson_version = "2.17.1"
|
||||||
jakarta_annotation_version = "1.3.5"
|
jakarta_annotation_version = "1.3.5"
|
||||||
|
beanvalidation_version = "2.0.2"
|
||||||
junit_version = "5.10.2"
|
junit_version = "5.10.2"
|
||||||
httpmime_version = "4.5.13"
|
httpmime_version = "4.5.13"
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,8 @@ artifacts {
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
jackson_version = "2.17.1"
|
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"
|
junit_version = "5.10.2"
|
||||||
httpmime_version = "4.5.13"
|
httpmime_version = "4.5.13"
|
||||||
}
|
}
|
||||||
|
@ -21,3 +21,4 @@
|
|||||||
#docs/*.md
|
#docs/*.md
|
||||||
# Then explicitly reverse the ignore rule for a single file:
|
# Then explicitly reverse the ignore rule for a single file:
|
||||||
#!docs/README.md
|
#!docs/README.md
|
||||||
|
|
||||||
|
@ -68,6 +68,7 @@ artifacts {
|
|||||||
ext {
|
ext {
|
||||||
jackson_version = "2.17.1"
|
jackson_version = "2.17.1"
|
||||||
jakarta_annotation_version = "1.3.5"
|
jakarta_annotation_version = "1.3.5"
|
||||||
|
beanvalidation_version = "2.0.2"
|
||||||
junit_version = "5.10.2"
|
junit_version = "5.10.2"
|
||||||
httpmime_version = "4.5.13"
|
httpmime_version = "4.5.13"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user