upgrade java native to junit5 (#18617)

* upgrade java native to junit5

* upgrade build.gradle, optimize imports

* upgrade gradle, re-generate samples

* migrate api_test.mustache and petstore tests of native-async & native-jakarta
This commit is contained in:
Thorsten Hirsch
2024-05-10 04:50:54 +02:00
committed by GitHub
parent 29cfa3335d
commit 854e521a06
214 changed files with 686 additions and 837 deletions

View File

@@ -68,7 +68,7 @@ artifacts {
ext {
jackson_version = "2.14.1"
jakarta_annotation_version = "1.3.5"
junit_version = "4.13.2"
junit_version = "5.10.2"
httpmime_version = "4.5.13"
}
@@ -81,7 +81,7 @@ dependencies {
implementation "org.openapitools:jackson-databind-nullable:0.2.1"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
implementation "org.apache.httpcomponents:httpmime:$httpmime_version"
testImplementation "junit:junit:$junit_version"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
}
// Use spotless plugin to automatically format code, remove unused import, etc