aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin/src/main/kotlin
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2022-06-09 18:02:44 +0300
committerGitHub <noreply@github.com>2022-06-09 18:02:44 +0300
commit7e877abf5c2715ab5efa27a38b83d0bf9be1374b (patch)
treeeb010be8299fad7f639097912de253e8d5058f83 /runners/maven-plugin/src/main/kotlin
parent8c2a79f39377892be44d752d0958efb9b83f1fce (diff)
downloaddokka-7e877abf5c2715ab5efa27a38b83d0bf9be1374b.tar.gz
dokka-7e877abf5c2715ab5efa27a38b83d0bf9be1374b.tar.bz2
dokka-7e877abf5c2715ab5efa27a38b83d0bf9be1374b.zip
Make `dokka-analysis` dependency compileOnly in base plugin (#2521)
Diffstat (limited to 'runners/maven-plugin/src/main/kotlin')
-rw-r--r--runners/maven-plugin/src/main/kotlin/DokkaMojo.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
index 64cf8ee2..581d4c9e 100644
--- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
+++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
@@ -257,7 +257,8 @@ abstract class AbstractDokkaMojo(private val defaultDokkaPlugins: List<Dependenc
offlineMode = offlineMode,
cacheRoot = cacheRoot?.let(::File),
sourceSets = listOf(sourceSet),
- pluginsClasspath = getArtifactByMaven("org.jetbrains.dokka", "dokka-base", dokkaVersion) +
+ pluginsClasspath = getArtifactByMaven("org.jetbrains.dokka", "dokka-analysis", dokkaVersion) + // compileOnly in base plugin
+ getArtifactByMaven("org.jetbrains.dokka", "dokka-base", dokkaVersion) +
dokkaPlugins.map { getArtifactByMaven(it.groupId, it.artifactId, it.version ?: dokkaVersion) }
.flatten(),
pluginsConfiguration = pluginsConfiguration.toMutableList(),