Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

CODE_PUSH_APK_BUILD_TIME slows down builds recompiling resources unecessarily. #668

Open
runningcode opened this issue Feb 17, 2021 · 0 comments

Comments

@runningcode
Copy link

Description

CODE_PUSH_APK_BUILD_TIME is regenerated in every build for Android apps which mean that resources are recompiled even if no other resources changes or code changes were made to the app.

This means that if no code changes are made, it can add 10-20 seconds to a build (or more depending on how many resources exist). Ideally a build with no changes should not perform any work and return almost instantly.

Reproduction

./gradlew assembleDebug then ./gradlew assembleDebug you will see at the end of the second build 100 actionable tasks: 5 executed (or more).
I would expect that running assembleDebug twice in a row would yield 100 actionable tasks: 100 up-to-date.

Additional Information

  • cordova-plugin-code-push version: 2.0.0
  • iOS/Android/Windows version: Any Android
  • Does this reproduce on a debug build or release build? both
  • Does this reproduce on a simulator, or only on a physical device? both
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant