mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-21 17:10:54 +00:00
* Added templates for Kotlin JAX-RS server * Fixed Kotlin Server JAX-RS template directory * Added support for Kotlin Server JAX-RS library * Added support using coroutines with Kotlin server JAX-RS library * Added sample for Kotlin server JAX-RS library * Added support for returnResponse option into Kotlin server JAX-RS library * Fixed issue with optional parameters in Kotlin JAX-RS spec * Fixed oneOf issue in Kotlin jaxrs-spec generator * Added better documentation to Kotlin Server JAX-RS options * Updated kotlin-server.md * Updated kotlin-server jaxrs-spec samples * Fixed issue with Kotlin JAX-RS spec and reserved names * Regenerated samples
51 lines
1.5 KiB
Groovy
51 lines
1.5 KiB
Groovy
group "org.openapitools"
|
|
version "1.0.0"
|
|
|
|
wrapper {
|
|
gradleVersion = "6.9"
|
|
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
|
|
}
|
|
|
|
buildscript {
|
|
ext.kotlin_version = "1.4.32"
|
|
ext.jakarta_ws_rs_version = "2.1.6"
|
|
ext.swagger_annotations_version = "1.5.3"
|
|
ext.jakarta_annotations_version = "1.3.5"
|
|
ext.jackson_version = "2.9.9"
|
|
repositories {
|
|
maven { url "https://repo1.maven.org/maven2" }
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
}
|
|
dependencies {
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
|
|
}
|
|
}
|
|
|
|
apply plugin: "java"
|
|
apply plugin: "kotlin"
|
|
apply plugin: "application"
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
|
|
repositories {
|
|
maven { setUrl("https://repo1.maven.org/maven2") }
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version")
|
|
implementation("ch.qos.logback:logback-classic:1.2.1")
|
|
implementation("jakarta.ws.rs:jakarta.ws.rs-api:$jakarta_ws_rs_version")
|
|
implementation("jakarta.annotation:jakarta.annotation-api:$jakarta_annotations_version")
|
|
implementation("io.swagger:swagger-annotations:$swagger_annotations_version")
|
|
implementation("com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jackson_version")
|
|
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version")
|
|
testImplementation("junit:junit:4.13.2")
|
|
} |