From d1fc5f1610e646718afc6d9dfc6c5a3650350ea4 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 30 Jun 2016 16:36:30 +0200 Subject: deprecate in Dokka Maven plugin, support instead. Resolves #73 --- maven-plugin/src/main/kotlin/DokkaMojo.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'maven-plugin/src') diff --git a/maven-plugin/src/main/kotlin/DokkaMojo.kt b/maven-plugin/src/main/kotlin/DokkaMojo.kt index e3736602..899d2dde 100644 --- a/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -33,8 +33,12 @@ abstract class AbstractDokkaMojo : AbstractMojo() { var samplesDirs: List = emptyList() @Parameter + @Deprecated("Use instead") var includeDirs: List = emptyList() + @Parameter + var includes: List = emptyList() + @Parameter(required = true, defaultValue = "\${project.compileClasspathElements}") var classpath: List = emptyList() @@ -64,7 +68,7 @@ abstract class AbstractDokkaMojo : AbstractMojo() { classpath, sourceDirectories, samplesDirs, - includeDirs, + includeDirs + includes, moduleName, DocumentationOptions(getOutDir(), getOutFormat(), sourceLinks = sourceLinks.map { SourceLinkDefinition(it.dir, it.url, it.urlSuffix) }, -- cgit