mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Run the correct jar name, even if its name was changed.
Fixes https://github.com/cbeust/kobalt/issues/355
This commit is contained in:
parent
904c405dd7
commit
f29c974c49
3 changed files with 23 additions and 5 deletions
|
@ -16,6 +16,8 @@ class Archives {
|
|||
companion object {
|
||||
@ExportedProjectProperty(doc = "The name of the jar file", type = "String")
|
||||
const val JAR_NAME = "jarName"
|
||||
@ExportedProjectProperty(doc = "The name of the a jar file with a main() method", type = "String")
|
||||
const val JAR_NAME_WITH_MAIN_CLASS = "jarNameWithMainClass"
|
||||
|
||||
private val DEFAULT_STREAM_FACTORY = { os : OutputStream -> ZipOutputStream(os) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue