only depend if json is not present

This commit is contained in:
Aseem Bansal 2025-06-25 22:39:05 +05:30
parent cfbd75e450
commit 06041f7ff4

View File

@ -150,6 +150,8 @@ task copyCapabilitySummary(type: Copy) {
def sourceFile = file('../metadata-ingestion/autogenerated/capability_summary.json')
if (!sourceFile.exists()) {
// We don't want frontend devs to have to run this task
// But still keeping it here to make sure the dependency is there properly in gradle
dependsOn ':metadata-ingestion:capabilitySummary'
}