Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 36cd937

Browse files
Rework dependencies order for hash generation (#2204)
* Rework dependencies order for hash generation * Lint
1 parent 575ee54 commit 36cd937

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

android/codepush.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ gradle.projectsEvaluated {
6262
enabled config."bundleIn${targetName}" ||
6363
config."bundleIn${variant.buildType.name.capitalize()}" ?:
6464
targetName.toLowerCase().contains("release")
65-
}
65+
}
66+
67+
runBefore("merge${targetName}Resources", generateBundledResourcesHash)
68+
runBefore("merge${targetName}Assets", generateBundledResourcesHash)
6669
} else {
6770
def jsBundleDirConfigName = "jsBundleDir${targetName}"
6871
jsBundleDir = elvisFile(config."$jsBundleDirConfigName") ?:

0 commit comments

Comments
 (0)