diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-04-17 16:49:47 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-04-27 12:46:04 +0200 |
commit | 3cd12e14d7465c197d4a6fc76d073328a46db349 (patch) | |
tree | 21dada66ba759e883f2802d8ba6e1c63a51be1f4 | |
parent | e3fdf22d59812c0e4903491085fac3d614128ae4 (diff) | |
download | dokka-3cd12e14d7465c197d4a6fc76d073328a46db349.tar.gz dokka-3cd12e14d7465c197d4a6fc76d073328a46db349.tar.bz2 dokka-3cd12e14d7465c197d4a6fc76d073328a46db349.zip |
Fix problem with base plugin not being loaded in gradle runner
-rw-r--r-- | plugins/gfm/build.gradle.kts | 2 | ||||
-rw-r--r-- | plugins/jekyll/build.gradle.kts | 2 | ||||
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gfm/build.gradle.kts b/plugins/gfm/build.gradle.kts index c0226345..ffa12cba 100644 --- a/plugins/gfm/build.gradle.kts +++ b/plugins/gfm/build.gradle.kts @@ -8,5 +8,5 @@ publishing { } dependencies { - implementation(project(":plugins:base")) + compileOnly(project(":plugins:base")) } diff --git a/plugins/jekyll/build.gradle.kts b/plugins/jekyll/build.gradle.kts index 03fcfc58..a5c10fa0 100644 --- a/plugins/jekyll/build.gradle.kts +++ b/plugins/jekyll/build.gradle.kts @@ -8,6 +8,6 @@ publishing { } dependencies { - implementation(project(":plugins:base")) + compileOnly(project(":plugins:base")) implementation(project(":plugins:gfm")) }
\ No newline at end of file diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt index 4efc5010..2ece238f 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt @@ -19,7 +19,7 @@ open class DokkaPlugin : Plugin<Project> { loadDokkaVersion() val dokkaRuntimeConfiguration = addConfiguration(project) val pluginsConfiguration = project.configurations.create("dokkaPlugins").apply { - defaultDependencies { it.add(project.dependencies.create("org.jetbrains.dokka:dokka-base:${DokkaVersion.version}")) } + dependencies.add(project.dependencies.create("org.jetbrains.dokka:dokka-base:${DokkaVersion.version}")) } addDokkaTasks(project, dokkaRuntimeConfiguration, pluginsConfiguration, DokkaTask::class.java) addDokkaCollectorTasks(project, DokkaCollectorTask::class.java) |