From aaa00ea71ec99df548f2331567c717b4bec26aca Mon Sep 17 00:00:00 2001 From: BlockyTheDev <86119630+BlockyTheDev@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:04:35 +0200 Subject: [PATCH] Addresses issues related to maven publish scm block (#2435) * Addresses issues related to maven publish scm block - Fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/2423 - Fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/2422 - Resolves https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/2421 * Fix wrong change --- buildSrc/src/main/kotlin/LibsConfig.kt | 5 +++-- buildSrc/src/main/kotlin/PlatformConfig.kt | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/buildSrc/src/main/kotlin/LibsConfig.kt b/buildSrc/src/main/kotlin/LibsConfig.kt index 4fd69cb65..5d6e7892b 100644 --- a/buildSrc/src/main/kotlin/LibsConfig.kt +++ b/buildSrc/src/main/kotlin/LibsConfig.kt @@ -241,8 +241,9 @@ fun Project.applyLibrariesConfiguration() { scm { url.set("https://github.com/IntellectualSites/FastAsyncWorldEdit") - connection.set("scm:https://IntellectualSites@github.com/IntellectualSites/FastAsyncWorldEdit.git") - developerConnection.set("scm:git://github.com/IntellectualSites/FastAsyncWorldEdit.git") + connection.set("scm:git:https://github.com/IntellectualSites/FastAsyncWorldEdit.git") + developerConnection.set("scm:git:git@github.com:IntellectualSites/FastAsyncWorldEdit.git") + tag.set("${project.version}") } issueManagement { diff --git a/buildSrc/src/main/kotlin/PlatformConfig.kt b/buildSrc/src/main/kotlin/PlatformConfig.kt index 807ee9e8a..8f66ba55e 100644 --- a/buildSrc/src/main/kotlin/PlatformConfig.kt +++ b/buildSrc/src/main/kotlin/PlatformConfig.kt @@ -102,8 +102,9 @@ fun Project.applyPlatformAndCoreConfiguration() { scm { url.set("https://github.com/IntellectualSites/FastAsyncWorldEdit") - connection.set("scm:https://IntellectualSites@github.com/IntellectualSites/FastAsyncWorldEdit.git") - developerConnection.set("scm:git://github.com/IntellectualSites/FastAsyncWorldEdit.git") + connection.set("scm:git:https://github.com/IntellectualSites/FastAsyncWorldEdit.git") + developerConnection.set("scm:git:git@github.com:IntellectualSites/FastAsyncWorldEdit.git") + tag.set("${project.version}") } issueManagement{