mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-25 20:07:11 -07:00
More documentation on properties.
This commit is contained in:
parent
729205059e
commit
8d935dba2f
1 changed files with 7 additions and 1 deletions
|
@ -577,7 +577,13 @@ object in order to store project specific properties.
|
||||||
</p>
|
</p>
|
||||||
<pre class="brush:java">
|
<pre class="brush:java">
|
||||||
fun taskAssemble(project: Project) : TaskResult {
|
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>
|
</pre>
|
||||||
<h3 class="section" indent="1" id="plugin-properties">Plug-in properties</h3>
|
<h3 class="section" indent="1" id="plugin-properties">Plug-in properties</h3>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue