Fix jar task to use base.archivesName for renaming LICENSE

This commit is contained in:
Tracker-Friendly 2025-02-27 19:36:59 +00:00
parent da877c20cc
commit 8bb82d2571
1 changed files with 1 additions and 1 deletions

View File

@ -41,6 +41,6 @@ java {
jar {
from("LICENSE") {
rename { "${it}_${inputs.properties.archivesName}" }
rename { "${it}_${base.archivesName.get()}" }
}
}