Skip to content

Commit

Permalink
Use projectDir.resolve() instead of relying on file()
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatBeresnev committed Apr 18, 2023
1 parent 0bab7db commit 1e923ae
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ subprojects {
val exampleDir = "https://github.com/Kotlin/dokka/tree/master/examples/gradle/dokka-multimodule-example"
val projectRelativePath = rootProject.projectDir.toPath().relativize(projectDir.toPath())

localDirectory.set(file("src"))
localDirectory.set(projectDir.resolve("src"))
remoteUrl.set(URL("$exampleDir/$projectRelativePath/src"))
remoteLineSuffix.set("#L")
}
Expand Down

0 comments on commit 1e923ae

Please sign in to comment.