1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -07:00

ApplicationPlugin work.

This commit is contained in:
Cedric Beust 2015-11-06 20:07:00 -08:00
parent 7b7f279d68
commit 146905da40
8 changed files with 46 additions and 18 deletions

View file

@ -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
}