forked from loafle/openapi-generator-original
* [Java][Vertx] Add option to generate methods that return Futures * run scripts * update sample config and github workflow * generate samples * rerun script * add vertx-no-nullable to samples workflow
55 lines
1.8 KiB
Groovy
55 lines
1.8 KiB
Groovy
apply plugin: 'idea'
|
|
apply plugin: 'eclipse'
|
|
|
|
group = 'org.openapitools'
|
|
version = '1.0.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'maven-publish'
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
artifactId = 'petstore-vertx-supportvertxfuture'
|
|
from components.java
|
|
}
|
|
}
|
|
}
|
|
|
|
task execute(type:JavaExec) {
|
|
main = System.getProperty('mainClass')
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
}
|
|
|
|
ext {
|
|
swagger_annotations_version = "1.5.21"
|
|
jackson_version = "2.17.1"
|
|
jackson_databind_version = "2.17.1"
|
|
vertx_version = "4.0.0"
|
|
junit_version = "5.10.3"
|
|
jackson_databind_nullable_version = "0.2.6"
|
|
jakarta_annotation_version = "1.3.5"
|
|
}
|
|
|
|
dependencies {
|
|
implementation "io.swagger:swagger-annotations:$swagger_annotations_version"
|
|
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
|
implementation "io.vertx:vertx-web-client:$vertx_version"
|
|
implementation "io.vertx:vertx-rx-java:$vertx_version"
|
|
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
|
|
implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
|
|
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version"
|
|
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
|
implementation "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
|
|
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
|
|
testImplementation "io.vertx:vertx-unit:$vertx_version"
|
|
}
|