mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
ApplicationPlugin work.
This commit is contained in:
parent
7b7f279d68
commit
146905da40
8 changed files with 46 additions and 18 deletions
|
@ -44,6 +44,9 @@ class PackagingPlugin @Inject constructor(val dependencyManager : DependencyMana
|
|||
@ExportedProperty
|
||||
const val LIBS_DIR = "libsDir"
|
||||
|
||||
@ExportedProperty
|
||||
const val JAR_NAME = "jarName"
|
||||
|
||||
const val TASK_ASSEMBLE : String = "assemble"
|
||||
}
|
||||
|
||||
|
@ -231,6 +234,9 @@ class PackagingPlugin @Inject constructor(val dependencyManager : DependencyMana
|
|||
outStream.flush()
|
||||
outStream.close()
|
||||
log(1, " Created $result")
|
||||
|
||||
context.pluginProperties.put(name, JAR_NAME, result.absolutePath)
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue