aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin/src/main
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-09 16:30:36 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-13 14:23:08 +0200
commit2c967fb5389b0f7891b59d8a9334e4efca546b46 (patch)
tree2db3180c5f17f4210f25bf94fe824427bec1d3ec /runners/maven-plugin/src/main
parent8525326620eab855c2a0af83acfd47efb431d253 (diff)
downloaddokka-2c967fb5389b0f7891b59d8a9334e4efca546b46.tar.gz
dokka-2c967fb5389b0f7891b59d8a9334e4efca546b46.tar.bz2
dokka-2c967fb5389b0f7891b59d8a9334e4efca546b46.zip
Remove `format` from dokka DokkaConfiguration
Diffstat (limited to 'runners/maven-plugin/src/main')
-rw-r--r--runners/maven-plugin/src/main/kotlin/DokkaMojo.kt10
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() {