From 51653e1a8265b1a41f6940a5cdcc23ce6fbd50a2 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Fri, 4 Mar 2016 17:21:40 -0800 Subject: [PATCH] Update doc. --- plug-in-development/index.html | 96 +++++++++++++++++++++------------- 1 file changed, 59 insertions(+), 37 deletions(-) diff --git a/plug-in-development/index.html b/plug-in-development/index.html index 9a89bcb..a54a451 100644 --- a/plug-in-development/index.html +++ b/plug-in-development/index.html @@ -123,9 +123,24 @@ class JavaBuildGenerator: ITemplateContributor { Type Description + + IAssemblyContributor + IContributor + + Plug-ins that want be invoked when the assemble task is called. + + + + + IBuildConfigContributor + IContributor + + Plug-ins that want to generate their own BuildConfig file. + + - IBuildConfigFieldContributor + IBuildConfigFieldContributor IInterceptor Plug-ins that want to add custom fields to the generated BuildConfig class. @@ -159,7 +174,7 @@ class JavaBuildGenerator: ITemplateContributor { ICompilerContributor IContributor - Plug-ins that know how to turn files into bytecodes should implement this interface. + Plug-ins that want be invoked when the compile task is called. @@ -184,6 +199,13 @@ class JavaBuildGenerator: ITemplateContributor { Plug-ins that know how to generate documentation out of source files should implement this interface. + + IMavenIdInterceptor + IInterceptor + + Plug-ins that need to rewrite Maven id's should implement this interface. + + IProjectContributor IContributor @@ -218,41 +240,41 @@ class JavaBuildGenerator: ITemplateContributor { - - - ISourceDirectoryInterceptor - IInterceptor - - Plug-ins that want to add, remove or alter the source directories should implement this interface. - - - - ITemplateContributor - IContributor - When invoked with --init followed by template names separated by commas, - Kobalt will invoke each of these contributors so they can generate their files. - Templates are useful to create projects from scratch with a minimal number of - files to get started. For example, the "java" template will generate a Build.kt - file suitable for a brand new Java project. - - - - - ITestRunnerContributor - IContributor - - Plug-ins that can operate when the "test" task gets invoked should implement that interface. - - - - - ITestSourceDirectoryContributor - IContributor - - - Plug-ins that add test source directories. - - + + + ISourceDirectoryInterceptor + IInterceptor + + Plug-ins that want to add, remove or alter the source directories should implement this interface. + + + + ITemplateContributor + IContributor + When invoked with --init followed by template names separated by commas, + Kobalt will invoke each of these contributors so they can generate their files. + Templates are useful to create projects from scratch with a minimal number of + files to get started. For example, the "java" template will generate a Build.kt + file suitable for a brand new Java project. + + + + + ITestRunnerContributor + IContributor + + Plug-ins that can operate when the "test" task gets invoked should implement that interface. + + + + + ITestSourceDirectoryContributor + IContributor + + + Plug-ins that add test source directories. + +

Selection process