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

Only use primary dex files for local snapshots #312

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

rbro112
Copy link
Contributor

@rbro112 rbro112 commented Dec 12, 2024

No description provided.

Copy link
Contributor Author

rbro112 commented Dec 12, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@@ -179,7 +179,7 @@ abstract class LocalSnapshots : DefaultTask() {
) {
ZipFile(apk).use { zip ->
zip.entries().asSequence().forEach { entry ->
if (entry.name.endsWith(".dex")) {
if (entry.name.matches(Regex("^classes.*\\.dex"))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we could restrict this further to only match the digits like classes8.dex, not sure if there's another lib that would conflict with this naming.

@rbro112 rbro112 merged commit fd2d538 into main Dec 12, 2024
15 checks passed
@rbro112 rbro112 deleted the ryan/only_use_primary_dex_files_for_local_snapshots branch December 12, 2024 22:35
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