aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-07-02 13:20:34 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-06 10:28:49 +0200
commitb594564969ec4d93d59e4850a63f0fbf8f68cf7a (patch)
treeb190a1c327aa6c866d88dadaca68b2e92786bfbf
parent729362b672c92dc035f81e6f9dcb924829a4bff9 (diff)
downloaddokka-b594564969ec4d93d59e4850a63f0fbf8f68cf7a.tar.gz
dokka-b594564969ec4d93d59e4850a63f0fbf8f68cf7a.tar.bz2
dokka-b594564969ec4d93d59e4850a63f0fbf8f68cf7a.zip
Fix source set name in Maven
-rw-r--r--runners/maven-plugin/src/main/kotlin/DokkaMojo.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
index b0baabee..4c10568c 100644
--- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
+++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
@@ -81,8 +81,8 @@ abstract class AbstractDokkaMojo : AbstractMojo() {
override var suppress: Boolean = DokkaDefaults.suppress
}
- @Parameter(required = true, defaultValue = "\${project.sourceSet}")
- var sourceSetName: String = ""
+ @Parameter
+ var sourceSetName: String = "JVM"
@Parameter(required = true, defaultValue = "\${project.compileSourceRoots}")
var sourceDirectories: List<String> = emptyList()