mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-25 03:57: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>
|
||||
<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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue