diff options
author | Błażej Kardyś <bkardys@virtuslab.com> | 2020-05-19 19:02:58 +0200 |
---|---|---|
committer | Błażej Kardyś <bkardys@virtuslab.com> | 2020-05-20 13:31:00 +0200 |
commit | 6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f (patch) | |
tree | f29b4101c306d824f39787d817bd038fbf740779 /runners/maven-plugin/src/main/kotlin | |
parent | ff450fedb3c8bdc318b55954bc37d93b30b9277c (diff) | |
download | dokka-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/main/kotlin')
-rw-r--r-- | runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 9 |
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? |