From 979dbca7bedeffc9bd91159fcf6a9a06b1cf1564 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 5 Nov 2015 17:33:16 +0100 Subject: setup multi-project build; specify version in one place for all Gradle project --- dokka-gradle-plugin/src/main/kotlin/logger.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dokka-gradle-plugin/src/main/kotlin/logger.kt (limited to 'dokka-gradle-plugin/src/main/kotlin/logger.kt') diff --git a/dokka-gradle-plugin/src/main/kotlin/logger.kt b/dokka-gradle-plugin/src/main/kotlin/logger.kt new file mode 100644 index 00000000..715c1f04 --- /dev/null +++ b/dokka-gradle-plugin/src/main/kotlin/logger.kt @@ -0,0 +1,18 @@ +package org.jetbrains.dokka.gradle + +import org.gradle.api.logging.Logger +import org.jetbrains.dokka.DokkaLogger + +class DokkaGradleLogger(val logger: Logger) : DokkaLogger { + override fun error(message: String) { + logger.error(message) + } + + override fun info(message: String) { + logger.info(message) + } + + override fun warn(message: String) { + logger.warn(message) + } +} \ No newline at end of file -- cgit