diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-05-02 15:08:52 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-05-02 16:51:03 +0300 |
commit | 54c3c87acfb31afc22afc5f20229384f755b677f (patch) | |
tree | 276b600a967ab9a2b710ae62e2acc1443d395c7d /runners/maven-plugin/src | |
parent | acbe2f8c47a81c8e6046214f600ffdef24890fa6 (diff) | |
download | dokka-54c3c87acfb31afc22afc5f20229384f755b677f.tar.gz dokka-54c3c87acfb31afc22afc5f20229384f755b677f.tar.bz2 dokka-54c3c87acfb31afc22afc5f20229384f755b677f.zip |
Refactoring internal communication for gradle
Diffstat (limited to 'runners/maven-plugin/src')
-rw-r--r-- | runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index c3cf7509..dcccdb1f 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -11,8 +11,8 @@ import org.codehaus.plexus.archiver.Archiver import org.codehaus.plexus.archiver.jar.JarArchiver import org.jetbrains.dokka.DocumentationOptions import org.jetbrains.dokka.DokkaGenerator -import org.jetbrains.dokka.SourceLinkDefinition -import org.jetbrains.dokka.SourceRoot +import org.jetbrains.dokka.SourceLinkDefinitionImpl +import org.jetbrains.dokka.SourceRootImpl import java.io.File class SourceLinkMapItem { @@ -67,12 +67,12 @@ abstract class AbstractDokkaMojo : AbstractMojo() { val gen = DokkaGenerator( MavenDokkaLogger(log), classpath, - sourceDirectories.map { SourceRoot(it) }, + sourceDirectories.map { SourceRootImpl(it) }, samplesDirs, includeDirs + includes, moduleName, DocumentationOptions(getOutDir(), getOutFormat(), - sourceLinks = sourceLinks.map { SourceLinkDefinition(it.dir, it.url, it.urlSuffix) }, + sourceLinks = sourceLinks.map { SourceLinkDefinitionImpl(it.dir, it.url, it.urlSuffix) }, jdkVersion = jdkVersion ) ) |