diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-06-30 16:36:30 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-06-30 16:36:30 +0200 |
commit | d1fc5f1610e646718afc6d9dfc6c5a3650350ea4 (patch) | |
tree | 74740a7aa67c543bfd1141bf7a07573e599f5ef3 /maven-plugin/src/main/kotlin | |
parent | 95731338b8fa6560e0d4c5243dce4315f7967d2f (diff) | |
download | dokka-d1fc5f1610e646718afc6d9dfc6c5a3650350ea4.tar.gz dokka-d1fc5f1610e646718afc6d9dfc6c5a3650350ea4.tar.bz2 dokka-d1fc5f1610e646718afc6d9dfc6c5a3650350ea4.zip |
deprecate <includeDirs> in Dokka Maven plugin, support <includes> instead. Resolves #73
Diffstat (limited to 'maven-plugin/src/main/kotlin')
-rw-r--r-- | maven-plugin/src/main/kotlin/DokkaMojo.kt | 6 |
1 files changed, 5 insertions, 1 deletions
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<String> = emptyList() @Parameter + @Deprecated("Use <includes> instead") var includeDirs: List<String> = emptyList() + @Parameter + var includes: List<String> = emptyList() + @Parameter(required = true, defaultValue = "\${project.compileClasspathElements}") var classpath: List<String> = 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) }, |