mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 07:16:11 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user