Skip to content

Commit

Permalink
build: make publishToMavenLocal work
Browse files Browse the repository at this point in the history
  • Loading branch information
sander committed Apr 6, 2023
1 parent afcbf45 commit 6b17722
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ plugins {
kotlin("jvm") version "1.8.10"
id("org.jetbrains.kotlinx.kover") version "0.7.0-Alpha"
kotlin("plugin.serialization") version "1.8.10"
`maven-publish`
}

group = "nl.sanderdijkhuis"
version = "0.1.0-SNAPSHOT"
version = "0.4.0"

repositories {
mavenCentral()
Expand Down Expand Up @@ -42,3 +43,11 @@ koverReport {
}
}
}

publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}

0 comments on commit 6b17722

Please sign in to comment.