diff --git a/plug-in-development/index.html b/plug-in-development/index.html index cab8233..6f62730 100644 --- a/plug-in-development/index.html +++ b/plug-in-development/index.html @@ -278,7 +278,9 @@ fun affinity(project: Project, context: KobaltContext) : Int
 override fun affinity(project: Project, context: KobaltContext) =
     if (project.sourceSuffix == ".java") 1 else 0
-

Directives

+ + +

Directives

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, as described here.