From 2d5e0f4b3b41816733ec13a75dcec6ff913ef446 Mon Sep 17 00:00:00 2001 From: Patrick ALLAIN Date: Mon, 4 May 2020 01:18:27 +0200 Subject: [PATCH] Fix generation of gradle file for vertx (#2901) --- .../main/resources/Java/libraries/vertx/build.gradle.mustache | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/vertx/build.gradle.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/vertx/build.gradle.mustache index 742f19fd1cf7..5a7ebdec0112 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/vertx/build.gradle.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/vertx/build.gradle.mustache @@ -32,7 +32,9 @@ ext { jackson_databind_version = "2.10.4" vertx_version = "3.4.2" junit_version = "4.13" + {{#openApiNullable}} jackson_databind_nullable_version = "0.2.1" + {{/openApiNullable}} } dependencies { @@ -52,7 +54,9 @@ dependencies { {{#threetenbp}} compile "com.github.joschi.jackson:jackson-datatype-threetenbp:$jackson_version" {{/threetenbp}} + {{#openApiNullable}} compile "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version" + {{/openApiNullable}} compile 'javax.annotation:javax.annotation-api:1.3.2' testCompile "junit:junit:$junit_version" testCompile "io.vertx:vertx-unit:$vertx_version"