Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixbug #1549 tinkerId not updated. #1550

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

yanbober
Copy link
Contributor

@yanbober yanbober commented Apr 8, 2021

#1549

开启并行构建及缓存能力后,多次提交变更代码(TinkerId=渠道号_版本号_gitCommitId)的情况下,最终 base apk 产物的 TinkerId 会概率性出现没用最新 gitCommitId,还是上次构建缓存的,经过分析发现是 task 依赖存在问题导致,修复后以批量多渠道上线验证没问题。

@CListery
Copy link

使用该笔PR在以下版本中测试无效
AGP:4.2.2
Gradle:6.9.1

gradle.properties设置:

org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.caching=true

无法有效限制 task process${variant.name.capitalize()}ManifestForPackage 在 task tinkerProcess${capitalizedVariantName}Manifest 之后执行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants