From 6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f Mon Sep 17 00:00:00 2001 From: Błażej Kardyś Date: Tue, 19 May 2020 19:02:58 +0200 Subject: Merging of platform dependent hints in sourceset tree --- runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'runners/maven-plugin') 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 @@ -92,6 +92,12 @@ abstract class AbstractDokkaMojo : AbstractMojo() { @Parameter var sourceRoots: List = emptyList() + @Parameter + var dependentSourceRoots: List = emptyList() + + @Parameter + var dependentSourceSets: List = emptyList() + @Parameter var samples: List = emptyList() @@ -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? -- cgit