mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 20:57:08 +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
@@ -68,3 +68,18 @@ dependencies {
|
||||
implementation "io.projectreactor:reactor-core:3.7.11"
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user