Skip to content

Commit

Permalink
Use root project name for bundler and paperclip jars
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Dec 15, 2024
1 parent 0526dcc commit 570c7f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ class BundlerJarTasks(
mainClass.set(mainClassString)
extraManifestMainAttributes.convention(mapOf("Enable-Native-Access" to "ALL-UNNAMED"))

outputZip.set(layout.buildDirectory.file("libs/${jarName("bundler", classifier)}"))
outputZip.set(layout.buildDirectory.file("libs/${rootProject.jarName("bundler", classifier)}"))
}
val paperclipJarTask = tasks.register<CreatePaperclipJar>(paperclipTaskName) {
group = "paperweight"
description = "Build a runnable paperclip jar"

libraryChangesJson.set(bundlerJarTask.flatMap { it.libraryChangesJson })
outputZip.set(layout.buildDirectory.file("libs/${jarName("paperclip", classifier)}"))
outputZip.set(layout.buildDirectory.file("libs/${rootProject.jarName("paperclip", classifier)}"))
}
return bundlerJarTask to paperclipJarTask
}
Expand Down

0 comments on commit 570c7f8

Please sign in to comment.