From e98791c865f510edbc3ce3aeb69cc2e98409dec8 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Thu, 8 Jun 2023 10:40:02 +0200 Subject: [PATCH] Update top level group id and lowercaswe artifact names (#4060) * Update top level group Id (#4055) * Lowercase artifact names --- Bukkit/build.gradle.kts | 4 ++-- build.gradle.kts | 6 +++--- settings.gradle.kts | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Bukkit/build.gradle.kts b/Bukkit/build.gradle.kts index 33d233514..9026376d1 100644 --- a/Bukkit/build.gradle.kts +++ b/Bukkit/build.gradle.kts @@ -18,7 +18,7 @@ repositories { } dependencies { - api(projects.plotSquaredCore) + api(projects.plotsquaredCore) // Metrics implementation("org.bstats:bstats-bukkit") @@ -62,7 +62,7 @@ tasks.processResources { } tasks.named("shadowJar") { - dependsOn(":PlotSquared-Core:shadowJar") + dependsOn(":plotsquared-core:shadowJar") dependencies { exclude(dependency("org.checkerframework:")) } diff --git a/build.gradle.kts b/build.gradle.kts index b7963f49a..f6238e23a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,7 +20,7 @@ plugins { id("xyz.jpenilla.run-paper") version "2.1.0" } -group = "com.plotsquared" +group = "com.intellectualsites.plotsquared" version = "7.0.0-SNAPSHOT" if (!File("$rootDir/.git").exists()) { @@ -210,7 +210,7 @@ subprojects { } nexusPublishing { - repositories { + this.repositories { sonatype { nexusUrl.set(URI.create("https://s01.oss.sonatype.org/service/local/")) snapshotRepositoryUrl.set(URI.create("https://s01.oss.sonatype.org/content/repositories/snapshots/")) @@ -227,7 +227,7 @@ tasks { supportedVersions.forEach { register("runServer-$it") { minecraftVersion(it) - pluginJars(*project(":PlotSquared-Bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile } + pluginJars(*project(":plotsquared-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile } .toTypedArray()) jvmArgs("-DPaper.IgnoreJavaVersion=true", "-Dcom.mojang.eula.agree=true") group = "run paper" diff --git a/settings.gradle.kts b/settings.gradle.kts index c35882d55..c6eb66b57 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -2,7 +2,7 @@ rootProject.name = "PlotSquared" include("Core", "Bukkit") -project(":Core").name = "PlotSquared-Core" -project(":Bukkit").name = "PlotSquared-Bukkit" +project(":Core").name = "plotsquared-core" +project(":Bukkit").name = "plotsquared-bukkit" enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")