From df7d7cdfd1cbeb7ce7c1df7acabe06b9bcaa7cea Mon Sep 17 00:00:00 2001 From: Sychic <47618543+Sychic@users.noreply.github.com> Date: Mon, 4 Mar 2024 11:42:26 -0500 Subject: [PATCH] Build: fix unstable project publishing configurations GitHub: #137 --- unstable/layoutdsl/build.gradle.kts | 6 ++---- unstable/statev2/build.gradle.kts | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/unstable/layoutdsl/build.gradle.kts b/unstable/layoutdsl/build.gradle.kts index 76435d66..e3db468f 100644 --- a/unstable/layoutdsl/build.gradle.kts +++ b/unstable/layoutdsl/build.gradle.kts @@ -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() @@ -30,9 +30,7 @@ kotlin.jvmToolchain { publishing { publications { - register("maven") { - from(components["java"]) - + named("maven") { artifactId = "elementa-unstable-${project.name}" } } diff --git a/unstable/statev2/build.gradle.kts b/unstable/statev2/build.gradle.kts index 5967b7b5..ac2d5e8f 100644 --- a/unstable/statev2/build.gradle.kts +++ b/unstable/statev2/build.gradle.kts @@ -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() @@ -29,9 +29,7 @@ kotlin.jvmToolchain { publishing { publications { - register("maven") { - from(components["java"]) - + named("maven") { artifactId = "elementa-unstable-${project.name}" } }