mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
👌 Code review change
Thanks to @ethauvin for his very good hint!
This commit is contained in:
parent
5aef25a4a7
commit
2e2444c2bc
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Archives {
|
|||
const val JAR_NAME_WITH_MAIN_CLASS = "jarNameWithMainClass"
|
||||
|
||||
fun defaultArchiveName(project: Project) = project.name +
|
||||
if (project.version == null || project.version == "") "" else "-${project.version}"
|
||||
if (project.version.isNullOrBlank()) "" else "-${project.version}"
|
||||
|
||||
fun generateArchive(project: Project,
|
||||
context: KobaltContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue