mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-03 07:20:51 +00:00
* Add option to prevent usage of jackson-nullable (#2901) Add a option for all java client and server to prevent usage of third party library (jackson-databind-nullable) which may be forbidden in some company Add samples for Vertx, Spring MVC, Spring Cloud, Feign and Play Upgrade dependencies for org.openapitools:jackson-databind-nullable * Samples - Remove dependency org.openapitools:jackson-databind-nullable (#2901) * Fix generation of gradle file for vertx (#2901) * Regenerate samples (#2901) * Fix documentation and up to date (#2901) * Fix forgotten regeneration of vertx after dependency integration (#2901) * Regenerate template after rebase (#2901) * Use yaml config files introduce in #6509 to manage samples (#2901) * Regenerate template using the config (#2901) * Fix bad version during testing generated samples (#2901) * Regenerate template after fix bad version (#2901) * Fix merge, allow for set importing on codegen model Co-authored-by: Jim Schubert <james.schubert@gmail.com>
52 lines
1.5 KiB
Groovy
52 lines
1.5 KiB
Groovy
apply plugin: 'idea'
|
|
apply plugin: 'eclipse'
|
|
|
|
group = 'org.openapitools'
|
|
version = '1.0.0'
|
|
|
|
repositories {
|
|
maven { url "https://repo1.maven.org/maven2" }
|
|
jcenter()
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'maven'
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
install {
|
|
repositories.mavenInstaller {
|
|
pom.artifactId = 'petstore-vertx-no-nullable'
|
|
}
|
|
}
|
|
|
|
task execute(type:JavaExec) {
|
|
main = System.getProperty('mainClass')
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
}
|
|
|
|
ext {
|
|
swagger_annotations_version = "1.5.21"
|
|
jackson_version = "2.10.4"
|
|
jackson_databind_version = "2.10.4"
|
|
vertx_version = "3.4.2"
|
|
junit_version = "4.13"
|
|
jackson_threeten_version = "2.9.10"
|
|
}
|
|
|
|
dependencies {
|
|
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
|
|
compile "com.google.code.findbugs:jsr305:3.0.2"
|
|
compile "io.vertx:vertx-web-client:$vertx_version"
|
|
compile "io.vertx:vertx-rx-java:$vertx_version"
|
|
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"
|
|
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
|
|
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version"
|
|
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
|
compile "com.github.joschi.jackson:jackson-datatype-threetenbp:jackson_threeten_version"
|
|
compile 'javax.annotation:javax.annotation-api:1.3.2'
|
|
testCompile "junit:junit:$junit_version"
|
|
testCompile "io.vertx:vertx-unit:$vertx_version"
|
|
}
|