diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2022-06-09 18:02:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 18:02:44 +0300 |
commit | 7e877abf5c2715ab5efa27a38b83d0bf9be1374b (patch) | |
tree | eb010be8299fad7f639097912de253e8d5058f83 /runners/maven-plugin/src/main/kotlin | |
parent | 8c2a79f39377892be44d752d0958efb9b83f1fce (diff) | |
download | dokka-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.kt | 3 |
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(), |