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:
Konstantin Ignatyev
2025-11-26 00:59:41 -08:00
committed by GitHub
parent ea62c676c9
commit b9d4b56d1c
50 changed files with 750 additions and 0 deletions

View File

@@ -66,3 +66,18 @@ dependencies {
implementation "org.springframework.boot:spring-boot-starter-web:$spring_boot_version"
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
}
}
}