diff options
Diffstat (limited to 'maven-plugin')
-rw-r--r-- | maven-plugin/src/main/kotlin/DokkaMojo.kt | 4 | ||||
-rw-r--r-- | maven-plugin/src/main/kotlin/MavenDokkaLogger.kt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/maven-plugin/src/main/kotlin/DokkaMojo.kt b/maven-plugin/src/main/kotlin/DokkaMojo.kt index fae9d856..da585c2f 100644 --- a/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -8,7 +8,7 @@ import org.apache.maven.plugins.annotations.ResolutionScope import org.jetbrains.dokka.DokkaGenerator import org.jetbrains.dokka.SourceLinkDefinition -public class SourceLinkMapItem { +class SourceLinkMapItem { @Parameter(name = "dir", required = true) var dir: String = "" @@ -20,7 +20,7 @@ public class SourceLinkMapItem { } @Mojo(name = "dokka", defaultPhase = LifecyclePhase.PRE_SITE, threadSafe = true, requiresDependencyResolution = ResolutionScope.COMPILE, requiresProject = true) -public class DokkaMojo : AbstractMojo() { +class DokkaMojo : AbstractMojo() { @Parameter(required = true, defaultValue = "\${project.compileSourceRoots}") var sourceDirectories: List<String> = emptyList() diff --git a/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt b/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt index ebae823b..a535c807 100644 --- a/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt +++ b/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt @@ -3,7 +3,7 @@ package org.jetbrains.dokka.maven import org.apache.maven.plugin.logging.Log import org.jetbrains.dokka.DokkaLogger -public class MavenDokkaLogger(val log: Log) : DokkaLogger { +class MavenDokkaLogger(val log: Log) : DokkaLogger { override fun error(message: String) { log.error(message) } |