mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-25 12:07:10 -07:00
Formatting.
This commit is contained in:
parent
74612605e2
commit
24562d6e8e
1 changed files with 3 additions and 1 deletions
|
@ -278,7 +278,9 @@ fun affinity(project: Project, context: KobaltContext) : Int</pre>
|
|||
<pre>
|
||||
override fun affinity(project: Project, context: KobaltContext) =
|
||||
if (project.sourceSuffix == ".java") 1 else 0</pre>
|
||||
<h2 class="section" id="directives">Directives</h2>
|
||||
|
||||
|
||||
<h2 class="section" id="directives">Directives</h2>
|
||||
<p>
|
||||
Directives are functions that users of your plug-in can use in their build file in order to configure your plug-in. These can be any kind of Kotlin function but in the interest of preserving a clean syntax in the build file, it's recommended to use the type safe builder pattern, <a href="https://kotlinlang.org/docs/reference/type-safe-builders.html">as described here</a>.
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue