Skip to content

Commit f43a0ee

Browse files
committed
Remove restriction on Dackka's Javadoc
1 parent c1adf5b commit f43a0ee

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

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

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -338,21 +338,14 @@ abstract class DackkaPlugin : Plugin<Project> {
338338
outputDirectory: Provider<File>
339339
) =
340340
project.tasks.register<Copy>("copyJavaDocToCommonDirectory") {
341-
/**
342-
* This is not currently cache compliant. The need for this property is temporary while we
343-
* test it alongside the current javaDoc task. Since it's such a temporary behavior, losing
344-
* cache compliance is fine for now.
345-
*/
346-
if (project.rootProject.findProperty("dackkaJavadoc") == "true") {
347-
mustRunAfter("firesiteTransform")
341+
mustRunAfter("firesiteTransform")
348342

349-
val outputFolder = project.rootProject.fileFromBuildDir("firebase-kotlindoc/android")
350-
val javaFolder = project.childFile(outputDirectory, "android")
343+
val outputFolder = project.rootProject.fileFromBuildDir("firebase-kotlindoc")
344+
val javaFolder = project.childFile(outputDirectory, "android")
351345

352-
fromDirectory(javaFolder)
346+
fromDirectory(javaFolder)
353347

354-
into(outputFolder)
355-
}
348+
into(outputFolder)
356349
}
357350

358351
// TODO(b/246593212): Migrate doc files to single directory

0 commit comments

Comments
 (0)