Skip to content

Commit d0c2a79

Browse files
committed
fix publications
1 parent e0e26b2 commit d0c2a79

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build-conventions/src/main/kotlin/convention.publishing.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import util.Git
2+
23
plugins {
34
id("convention.common")
45
id("convention.dokka")
@@ -37,6 +38,17 @@ tasks {
3738
}
3839
}
3940

41+
publishing {
42+
publications {
43+
create<MavenPublication>("js") {
44+
groupId = "${project.group}"
45+
artifactId = project.name
46+
version = "${project.version}"
47+
from(components["kotlin"])
48+
}
49+
}
50+
}
51+
4052
signing {
4153
val signingKey: String? by project
4254
val signingPassword: String? by project

0 commit comments

Comments
 (0)