Skip to content

Commit

Permalink
Build: fix unstable project publishing configurations
Browse files Browse the repository at this point in the history
GitHub: #137
  • Loading branch information
Sychic authored Mar 4, 2024
1 parent 84bee44 commit df7d7cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions unstable/layoutdsl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import gg.essential.gradle.util.versionFromBuildIdAndBranch
plugins {
kotlin("jvm")
id("gg.essential.defaults")
id("maven-publish")
id("gg.essential.defaults.maven-publish")
}

version = versionFromBuildIdAndBranch()
Expand All @@ -30,9 +30,7 @@ kotlin.jvmToolchain {

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

named<MavenPublication>("maven") {
artifactId = "elementa-unstable-${project.name}"
}
}
Expand Down
6 changes: 2 additions & 4 deletions unstable/statev2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import gg.essential.gradle.util.versionFromBuildIdAndBranch
plugins {
kotlin("jvm")
id("gg.essential.defaults")
id("maven-publish")
id("gg.essential.defaults.maven-publish")
}

version = versionFromBuildIdAndBranch()
Expand All @@ -29,9 +29,7 @@ kotlin.jvmToolchain {

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

named<MavenPublication>("maven") {
artifactId = "elementa-unstable-${project.name}"
}
}
Expand Down

0 comments on commit df7d7cd

Please sign in to comment.