diff --git a/plug-in-development/index.html b/plug-in-development/index.html index 0c9660a..2559e92 100644 --- a/plug-in-development/index.html +++ b/plug-in-development/index.html @@ -192,12 +192,16 @@ Some plug-ings produce projects (Java, Kotlin) while others don't (Packaging, Ap

Interceptors transform data that Kobalt passes them.

-

Compiler interceptors (ICompilerInterceptor)

-

- Plug-ins that implement this interface get a chance to alter the arguments that are passed to the various compilers (source files, classpath, arguments, etc...). -

+

Compiler interceptors (ICompilerInterceptor)

+

+ Plug-ins that implement this interface get a chance to alter the arguments that are passed to the various compilers (source files, classpath, arguments, etc...). +

+

Classpath interceptors (IClasspathInterceptor)

+

+ Plug-ins that implement this interface get a chance to alter the dependencies of a project (dependencies{}, dependenciesTest{}, ...) before Kobalt sees them. +

-

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.