Skip to content

Commit a1f5b95

Browse files
committed
Set reference path in DackkaPlugin
1 parent 59029c0 commit a1f5b95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

buildSrc/src/main/java/com/google/firebase/gradle/plugins/DackkaPlugin.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ abstract class DackkaPlugin : Plugin<Project> {
294294
val transformJavadoc = project.tasks.register<FiresiteTransformTask>("firesiteTransformJavadoc") {
295295
dependsOnAndMustRunAfter("separateJavadoc")
296296

297+
referencePath.set("/docs/reference/android")
297298
referenceHeadTagsPath.set("docs/reference/android")
298299
dackkaFiles.set(project.childFile(separatedFilesDirectory, "android"))
299300
outputDirectory.set(project.childFile(targetDirectory, "android"))
@@ -303,6 +304,7 @@ abstract class DackkaPlugin : Plugin<Project> {
303304
dependsOnAndMustRunAfter("separateKotlindoc")
304305

305306
referenceHeadTagsPath.set("docs/reference/kotlin")
307+
referencePath.set("/docs/reference/kotlin")
306308
dackkaFiles.set(project.childFile(separatedFilesDirectory, "kotlin"))
307309
outputDirectory.set(project.childFile(targetDirectory, "kotlin"))
308310
}

0 commit comments

Comments
 (0)