aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'runners/maven-plugin/src/main/kotlin')
-rw-r--r--runners/maven-plugin/src/main/kotlin/DokkaMojo.kt9
1 files changed, 8 insertions, 1 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
index ac22eb57..e00e5f88 100644
--- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
+++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
@@ -93,6 +93,12 @@ abstract class AbstractDokkaMojo : AbstractMojo() {
var sourceRoots: List<SourceRoot> = emptyList()
@Parameter
+ var dependentSourceRoots: List<SourceRoot> = emptyList()
+
+ @Parameter
+ var dependentSourceSets: List<String> = emptyList()
+
+ @Parameter
var samples: List<String> = emptyList()
@Parameter
@@ -206,7 +212,8 @@ abstract class AbstractDokkaMojo : AbstractMojo() {
classpath = classpath,
sourceSetName = sourceSetName,
sourceRoots = sourceDirectories.map { SourceRootImpl(it) },
- dependentSourceRoots = sourceRoots.map { SourceRootImpl(path = it.path) },
+ dependentSourceRoots = dependentSourceRoots.map { SourceRootImpl(path = it.path) },
+ dependentSourceSets = dependentSourceSets,
samples = samples,
includes = includes,
collectInheritedExtensionsFromLibraries = collectInheritedExtensionsFromLibraries, // TODO: Should we implement this?