diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-09 16:30:36 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-13 14:23:08 +0200 |
commit | 2c967fb5389b0f7891b59d8a9334e4efca546b46 (patch) | |
tree | 2db3180c5f17f4210f25bf94fe824427bec1d3ec /runners/maven-plugin/src | |
parent | 8525326620eab855c2a0af83acfd47efb431d253 (diff) | |
download | dokka-2c967fb5389b0f7891b59d8a9334e4efca546b46.tar.gz dokka-2c967fb5389b0f7891b59d8a9334e4efca546b46.tar.bz2 dokka-2c967fb5389b0f7891b59d8a9334e4efca546b46.zip |
Remove `format` from dokka DokkaConfiguration
Diffstat (limited to 'runners/maven-plugin/src')
-rw-r--r-- | runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index aa92516f..fdd1c646 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -170,8 +170,6 @@ abstract class AbstractDokkaMojo : AbstractMojo() { protected abstract fun getOutDir(): String - protected abstract fun getOutFormat(): String - override fun execute() { if (skip) { log.info("Dokka skip parameter is true so no dokka output will be produced") @@ -239,7 +237,6 @@ abstract class AbstractDokkaMojo : AbstractMojo() { val configuration = DokkaConfigurationImpl( outputDir = getOutDir(), - format = getOutFormat(), offlineMode = offlineMode, cacheRoot = cacheRoot, sourceSets = listOf(sourceSet).also { @@ -319,13 +316,9 @@ abstract class AbstractDokkaMojo : AbstractMojo() { requiresProject = true ) class DokkaMojo : AbstractDokkaMojo() { - @Parameter(required = true, defaultValue = "html") - var outputFormat: String = "html" - @Parameter(required = true, defaultValue = "\${project.basedir}/target/dokka") var outputDir: String = "" - override fun getOutFormat() = outputFormat override fun getOutDir() = outputDir } @@ -339,8 +332,6 @@ class DokkaMojo : AbstractDokkaMojo() { class DokkaJavadocMojo : AbstractDokkaMojo() { @Parameter(required = true, defaultValue = "\${project.basedir}/target/dokkaJavadoc") var outputDir: String = "" - - override fun getOutFormat() = "javadoc" override fun getOutDir() = outputDir } @@ -396,7 +387,6 @@ class DokkaJavadocJarMojo : AbstractDokkaMojo() { @Component(role = Archiver::class, hint = "jar") private var jarArchiver: JarArchiver? = null - override fun getOutFormat() = "javadoc" override fun getOutDir() = outputDir override fun execute() { |