diff options
Diffstat (limited to 'runners/gradle-plugin/src')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaArtifacts.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaArtifacts.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaArtifacts.kt index 6574eeb5..3349f996 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaArtifacts.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaArtifacts.kt @@ -1,12 +1,13 @@ package org.jetbrains.dokka.gradle import org.gradle.api.Project +import org.gradle.api.artifacts.Dependency import org.jetbrains.dokka.DokkaVersion internal val Project.dokkaArtifacts get() = DokkaArtifacts(this) internal class DokkaArtifacts(private val project: Project) { - private fun fromModuleName(name: String) = + private fun fromModuleName(name: String): Dependency = project.dependencies.create("org.jetbrains.dokka:$name:${DokkaVersion.version}") val allModulesPage get() = fromModuleName("all-modules-page-plugin") |