1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt-doc.git synced 2025-04-25 12:07:10 -07:00

More documentation on properties.

This commit is contained in:
Cedric Beust 2016-03-30 21:46:03 -08:00
parent 729205059e
commit 8d935dba2f

View file

@ -577,7 +577,13 @@ object in order to store project specific properties.
</p>
<pre class="brush:java">
fun taskAssemble(project: Project) : TaskResult {
project.projectProperties.put(PACKAGES, packages)
project.projectProperties.put("packages", packages)
</pre>
<p>
Another plug-in can then query this property as follows:
</p>
<pre class="brush:java">
val packages = project.projectProperties.put("packages")
</pre>
<h3 class="section" indent="1" id="plugin-properties">Plug-in properties</h3>
<p>