Skip to content

Commit

Permalink
fix publications
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetuska committed Jul 4, 2023
1 parent e0e26b2 commit d0c2a79
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build-conventions/src/main/kotlin/convention.publishing.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import util.Git

plugins {
id("convention.common")
id("convention.dokka")
Expand Down Expand Up @@ -37,6 +38,17 @@ tasks {
}
}

publishing {
publications {
create<MavenPublication>("js") {
groupId = "${project.group}"
artifactId = project.name
version = "${project.version}"
from(components["kotlin"])
}
}
}

signing {
val signingKey: String? by project
val signingPassword: String? by project
Expand Down

0 comments on commit d0c2a79

Please sign in to comment.