Skip to content

Commit 1dea01f

Browse files
authored
Fix incremental builds for firebase-crashlytics-ndk (#2692)
One task was incorrectly relying on `externalNativeBuildClean`, which caused all native files to be rebuilt on every build, regardless of if they were changed. That task dependency has been removed, reducing incremental build times from 6m to ~13s.
1 parent b5d06cd commit 1dea01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-crashlytics-ndk/firebase-crashlytics-ndk.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ android {
7676
}
7777

7878
tasks.findAll {
79-
it.name.startsWith("externalNativeBuild")
79+
it.name.startsWith("externalNativeBuild") && !it.name.contains("Clean")
8080
}.each {
8181
func.dependsOn it
8282
}

0 commit comments

Comments
 (0)