diff --git a/fonts.gradle b/fonts.gradle index 951394b0d..ad15ebd44 100644 --- a/fonts.gradle +++ b/fonts.gradle @@ -31,6 +31,11 @@ afterEvaluate { if (lintVitalAnalyzeTask) { lintVitalAnalyzeTask.dependsOn(fontCopyTask) } + + def generateReportTask = tasks.findByName("generate${targetName}LintVitalReportModel") + if (generateReportTask) { + generateReportTask.dependsOn(fontCopyTask) + } def generateAssetsTask = tasks.findByName("generate${targetName}Assets") generateAssetsTask.dependsOn(fontCopyTask)