Skip to content

Commit

Permalink
Merge branch '1.21.3-neoforge' into 1.21-neoforge
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 15, 2024
2 parents cefc00a + f9f9643 commit e344670
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ spotless {
}

publishMods {
file = tasks.named("renameJarJar").map { task ->
file = tasks.named("renameJarJar").flatMap { task ->
def libsDir = layout.buildDirectory.dir("libs").get().asFile
def jarFiles = libsDir.listFiles().findAll { it.name.endsWith(".jar") }
jarFiles[0]
layout.file(providers.provider { jarFiles[0] })
}
def versionString = project.version as String
def ghVersion = "v" + versionString.substring(0, versionString.indexOf("-MC"))
Expand Down

0 comments on commit e344670

Please sign in to comment.