diff options
-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) |