aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin/src
diff options
context:
space:
mode:
authorBłażej Kardyś <bkardys@virtuslab.com>2020-05-19 19:02:58 +0200
committerBłażej Kardyś <bkardys@virtuslab.com>2020-05-20 13:31:00 +0200
commit6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f (patch)
treef29b4101c306d824f39787d817bd038fbf740779 /runners/maven-plugin/src
parentff450fedb3c8bdc318b55954bc37d93b30b9277c (diff)
downloaddokka-6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f.tar.gz
dokka-6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f.tar.bz2
dokka-6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f.zip
Merging of platform dependent hints in sourceset tree
Diffstat (limited to 'runners/maven-plugin/src')
-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?