diff options
-rw-r--r-- | core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt | 4 | ||||
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaArtifacts.kt | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt b/core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt index e2b69226..e8b04aa2 100644 --- a/core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt +++ b/core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt @@ -1,3 +1,5 @@ +@file:Suppress("PackageDirectoryMismatch") + package org.jetbrains.dokka.test.tools.matchers.content import org.jetbrains.dokka.model.asPrintableTree @@ -178,4 +180,4 @@ data class MatcherError( ) : AssertionError(message, cause) // Creating this whole mechanism was most scala-like experience I had since I stopped using scala. -// I don't know how I should feel about it.
\ No newline at end of file +// I don't know how I should feel about it. 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") |