From 549ef194efc7a3eee948eac2da4ac36c2e47a6a1 Mon Sep 17 00:00:00 2001 From: Sergey Mashkov Date: Fri, 10 Jul 2015 15:10:36 +0300 Subject: Maven plugin initial implementation --- maven-plugin/src/main/kotlin/MavenDokkaLogger.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 maven-plugin/src/main/kotlin/MavenDokkaLogger.kt (limited to 'maven-plugin/src/main/kotlin/MavenDokkaLogger.kt') diff --git a/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt b/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt new file mode 100644 index 00000000..ebae823b --- /dev/null +++ b/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt @@ -0,0 +1,18 @@ +package org.jetbrains.dokka.maven + +import org.apache.maven.plugin.logging.Log +import org.jetbrains.dokka.DokkaLogger + +public class MavenDokkaLogger(val log: Log) : DokkaLogger { + override fun error(message: String) { + log.error(message) + } + + override fun info(message: String) { + log.info(message) + } + + override fun warn(message: String) { + log.warn(message) + } +} \ No newline at end of file -- cgit