diff --git a/plug-in-development/index.html b/plug-in-development/index.html index 019518d..2aee0e7 100644 --- a/plug-in-development/index.html +++ b/plug-in-development/index.html @@ -183,11 +183,11 @@ fun lineCount(project: Project): TaskResult {
-We create a task called "lineCount"
in which we look for all files ending in ".kt" in all the source directories of the project. Finally, we display a count of files and lines at the end by using KobaltLogger.log()
, which is obtained by extending the trait KobaltLogger
:
+We create a task called "lineCount"
in which we look for all files ending in ".kt" in all the source directories of the project. Finally, we display a count of files and lines at the end by using log()
, which is automatically supplied by the Kobalt API:
-public class Main : BasePlugin(), KobaltLogger { +public class Main : BasePlugin() {
@@ -258,7 +258,7 @@ fun main(argv: Array<String>) { com.beust.kobalt.main(argv) } -public class Main : BasePlugin(), KobaltLogger { +public class Main : BasePlugin() { // ...