aboutsummaryrefslogtreecommitdiff
path: root/maven-plugin/src/main/kotlin/DokkaMojo.kt
diff options
context:
space:
mode:
Diffstat (limited to 'maven-plugin/src/main/kotlin/DokkaMojo.kt')
-rw-r--r--maven-plugin/src/main/kotlin/DokkaMojo.kt6
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) },