Add publishing to local m2 repository
This commit is contained in:
parent
26a6f065da
commit
91ef88d8c9
1
.idea/gradle.xml
generated
1
.idea/gradle.xml
generated
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
|
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||||
<component name="GradleSettings">
|
<component name="GradleSettings">
|
||||||
<option name="linkedExternalProjectsSettings">
|
<option name="linkedExternalProjectsSettings">
|
||||||
<GradleProjectSettings>
|
<GradleProjectSettings>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "2.0.21"
|
kotlin("jvm") version "2.0.21"
|
||||||
id("org.openapi.generator") version "7.10.0"
|
id("org.openapi.generator") version "7.10.0"
|
||||||
|
id("maven-publish")
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "ru.vyatsu"
|
group = "ru.vyatsu"
|
||||||
@ -43,4 +44,13 @@ sourceSets {
|
|||||||
|
|
||||||
tasks.compileKotlin {
|
tasks.compileKotlin {
|
||||||
dependsOn(tasks.openApiGenerate)
|
dependsOn(tasks.openApiGenerate)
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
create<MavenPublication>("maven") {
|
||||||
|
from(components["kotlin"])
|
||||||
|
artifactId = tasks.jar.get().archiveBaseName.get()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user