Skip to content

Commit 6b17722

Browse files
committed
build: make publishToMavenLocal work
1 parent afcbf45 commit 6b17722

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

build.gradle.kts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ plugins {
44
kotlin("jvm") version "1.8.10"
55
id("org.jetbrains.kotlinx.kover") version "0.7.0-Alpha"
66
kotlin("plugin.serialization") version "1.8.10"
7+
`maven-publish`
78
}
89

910
group = "nl.sanderdijkhuis"
10-
version = "0.1.0-SNAPSHOT"
11+
version = "0.4.0"
1112

1213
repositories {
1314
mavenCentral()
@@ -42,3 +43,11 @@ koverReport {
4243
}
4344
}
4445
}
46+
47+
publishing {
48+
publications {
49+
create<MavenPublication>("maven") {
50+
from(components["java"])
51+
}
52+
}
53+
}

0 commit comments

Comments
 (0)