Skip to content

Commit

Permalink
Exclude settings.gradle externally; lowercase all instances of artifa…
Browse files Browse the repository at this point in the history
…ct name in public build process

GitOrigin-RevId: a74ede4015df6eb10d6304df9b216f7b4a1756da
  • Loading branch information
RyanHecht committed May 14, 2024
1 parent e6744e1 commit 88cf6cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
5 changes: 0 additions & 5 deletions settings.gradle

This file was deleted.

0 comments on commit 88cf6cd

Please sign in to comment.