Skip to content

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.

2 participants