Skip to content

Commit

Permalink
maven publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
LukynkaCZE committed Mar 29, 2024
1 parent 15cbd9c commit d68959d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
`maven-publish`
kotlin("jvm") version "1.9.22"
application
}
Expand Down Expand Up @@ -29,4 +30,16 @@ tasks.withType<KotlinCompile> {

application {
mainClass.set("MainKt")
}

publishing {
publications {
create<MavenPublication>("maven") {
groupId = "cz.lukynka"
artifactId = "lightweight-kotlin-webserver"
version = "1.0.0"

from(components["java"])
}
}
}

0 comments on commit d68959d

Please sign in to comment.