From 88cf6cd7f448922c0772894f46be4e418d422473 Mon Sep 17 00:00:00 2001 From: Ryan Hecht Date: Tue, 14 May 2024 17:07:29 -0400 Subject: [PATCH] Exclude settings.gradle externally; lowercase all instances of artifact name in public build process GitOrigin-RevId: a74ede4015df6eb10d6304df9b216f7b4a1756da --- build.gradle | 9 +++++---- settings.gradle | 5 ----- 2 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 settings.gradle diff --git a/build.gradle b/build.gradle index 1bcbc78..505c031 100644 --- a/build.gradle +++ b/build.gradle @@ -73,21 +73,22 @@ group = 'us.mcparks' version = '1.12-1-' + gitVersion() description = 'ShowScript' java.sourceCompatibility = JavaVersion.VERSION_1_8 -archivesBaseName = 'ShowScript' -shadowJar.archiveFileName = "ShowScript.jar" +archivesBaseName = 'showscript' +shadowJar.archiveFileName = "showscript.jar" build.dependsOn(shadowJar) jar.enabled = false +rootProject.name = "showscript" publishing { publications { gpr(MavenPublication) { - artifact file("build/libs/ShowScript.jar") + artifact file("build/libs/showscript.jar") } } repositories { maven { name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/MCParks/ShowScript") + url = uri("https://maven.pkg.github.com/mcparks/showscript") credentials { username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") password = project.findProperty("gpr.key") ?: System.getenv("TOKEN") diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index bb9d9a8..0000000 --- a/settings.gradle +++ /dev/null @@ -1,5 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -rootProject.name = 'ShowsRebuild'