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"?>
|
||||
<project version="4">
|
||||
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
|
@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "2.0.21"
|
||||
id("org.openapi.generator") version "7.10.0"
|
||||
id("maven-publish")
|
||||
}
|
||||
|
||||
group = "ru.vyatsu"
|
||||
@ -43,4 +44,13 @@ sourceSets {
|
||||
|
||||
tasks.compileKotlin {
|
||||
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