mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-20 20:17:12 +00:00
added ability to publish kotlin-client to maven local repo (#22438)
* this allows pushing client jar to local maven repository gradle -i clean jar publishToMavenLocal; also generates jar with sources; * this allows pushing client jar to local maven repository gradle -i clean jar publishToMavenLocal; also generates jar with sources;
This commit is contained in:
committed by
GitHub
parent
ea62c676c9
commit
b9d4b56d1c
@@ -233,3 +233,18 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
{{/kotlinx_serialization}}
|
{{/kotlinx_serialization}}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = '{{groupId}}'
|
||||||
|
artifactId = '{{artifactId}}'
|
||||||
|
version = '{{artifactVersion}}'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-jvm-okhttp-echo-api'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -66,3 +66,18 @@ dependencies {
|
|||||||
implementation "org.springframework.boot:spring-boot-starter-web:$spring_boot_version"
|
implementation "org.springframework.boot:spring-boot-starter-web:$spring_boot_version"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-client'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -68,3 +68,18 @@ dependencies {
|
|||||||
implementation "io.projectreactor:reactor-core:3.7.11"
|
implementation "io.projectreactor:reactor-core:3.7.11"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-client'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -63,3 +63,18 @@ dependencies {
|
|||||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-client-prefix-mapping'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-integer-enum'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jvm-okhttp-non-ascii-headers'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-okhttp4-parameter-tests'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-okhttp4-path-comments'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -70,3 +70,18 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|||||||
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-oneOf-discriminator'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -66,3 +66,18 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|||||||
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-allOf-discriminator'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-allOf-discriminator'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-array-integer-enum'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-array-simple-string-jvm-okhttp4'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-bigdecimal-default-okhttp4'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-default-values-jvm-okhttp4'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -64,3 +64,18 @@ dependencies {
|
|||||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-default-values-jvm-retrofit2'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-enum-default-value'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -63,3 +63,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-explicit'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -58,3 +58,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-gson'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jackson'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -67,3 +67,18 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|||||||
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-json-request-string'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -65,3 +65,18 @@ dependencies {
|
|||||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jvm-jackson'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -62,3 +62,18 @@ dependencies {
|
|||||||
implementation "io.ktor:ktor-client-gson:$ktor_version"
|
implementation "io.ktor:ktor-client-gson:$ktor_version"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jvm-ktor-gson'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -64,3 +64,18 @@ dependencies {
|
|||||||
implementation "io.ktor:ktor-serialization-jackson:$ktor_version"
|
implementation "io.ktor:ktor-serialization-jackson:$ktor_version"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jvm-ktor-jackson'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -68,3 +68,18 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|||||||
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jvm-ktor-kotlinx_serialization'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -59,3 +59,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-okhttp4-coroutines-client'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -64,3 +64,18 @@ dependencies {
|
|||||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-coroutines-client'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -62,3 +62,18 @@ dependencies {
|
|||||||
implementation "io.projectreactor:reactor-core:3.7.11"
|
implementation "io.projectreactor:reactor-core:3.7.11"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-spring-webclient'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -66,3 +66,18 @@ dependencies {
|
|||||||
implementation "org.springframework.boot:spring-boot-starter-web:$spring_boot_version"
|
implementation "org.springframework.boot:spring-boot-starter-web:$spring_boot_version"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-spring-restclient'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -68,3 +68,18 @@ dependencies {
|
|||||||
implementation "io.projectreactor:reactor-core:3.7.11"
|
implementation "io.projectreactor:reactor-core:3.7.11"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-spring-webclient'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -62,3 +62,18 @@ dependencies {
|
|||||||
implementation "io.vertx:vertx-lang-kotlin:$vertx_version"
|
implementation "io.vertx:vertx-lang-kotlin:$vertx_version"
|
||||||
implementation "io.vertx:vertx-uri-template:$vertx_version"
|
implementation "io.vertx:vertx-uri-template:$vertx_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jvm-vertx'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -66,3 +66,18 @@ dependencies {
|
|||||||
implementation "io.vertx:vertx-uri-template:$vertx_version"
|
implementation "io.vertx:vertx-uri-template:$vertx_version"
|
||||||
implementation "io.vertx:vertx-lang-kotlin-coroutines:$vertx_version"
|
implementation "io.vertx:vertx-lang-kotlin-coroutines:$vertx_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jvm-vertx'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -64,3 +64,18 @@ dependencies {
|
|||||||
implementation "io.vertx:vertx-lang-kotlin:$vertx_version"
|
implementation "io.vertx:vertx-lang-kotlin:$vertx_version"
|
||||||
implementation "io.vertx:vertx-uri-template:$vertx_version"
|
implementation "io.vertx:vertx-uri-template:$vertx_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jvm-vertx'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -64,3 +64,18 @@ dependencies {
|
|||||||
implementation "io.vertx:vertx-lang-kotlin:$vertx_version"
|
implementation "io.vertx:vertx-lang-kotlin:$vertx_version"
|
||||||
implementation "io.vertx:vertx-uri-template:$vertx_version"
|
implementation "io.vertx:vertx-uri-template:$vertx_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-jvm-vertx'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -70,3 +70,18 @@ dependencies {
|
|||||||
implementation "org.jetbrains.kotlinx:kotlinx-datetime:0.7.1"
|
implementation "org.jetbrains.kotlinx:kotlinx-datetime:0.7.1"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-threetenbp'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -64,3 +64,18 @@ dependencies {
|
|||||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-client-prefix-mapping'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-modelMutable'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -62,3 +62,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-moshi-codegen'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-client'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-nonpublic'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-nullable'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -65,3 +65,18 @@ dependencies {
|
|||||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-retrofit2-jackson'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -71,3 +71,18 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|||||||
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-retrofit2-kotlinx_serialization'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -68,3 +68,18 @@ dependencies {
|
|||||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-retrofit2-rx3'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -65,3 +65,18 @@ dependencies {
|
|||||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-retrofit2'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-string'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -61,3 +61,18 @@ dependencies {
|
|||||||
implementation "org.threeten:threetenbp:1.7.2"
|
implementation "org.threeten:threetenbp:1.7.2"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-threetenbp'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -66,3 +66,18 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|||||||
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-uppercase-enum'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ dependencies {
|
|||||||
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
implementation "com.squareup.okhttp3:okhttp:5.1.0"
|
||||||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = 'org.openapitools'
|
||||||
|
artifactId = 'kotlin-petstore-client'
|
||||||
|
version = '1.0.0'
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user