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

work around shrinked resources #148

Merged
merged 3 commits into from
Feb 5, 2020
Merged

work around shrinked resources #148

merged 3 commits into from
Feb 5, 2020

Conversation

dsvoronin
Copy link
Contributor

No description provided.

@dsvoronin dsvoronin changed the title workaround shrinked resources work around shrinked resources [MERGE_WHEN_READY] Feb 4, 2020
@dsvoronin
Copy link
Contributor Author

slackhq/keeper/issues/22

@dsvoronin dsvoronin changed the title work around shrinked resources [MERGE_WHEN_READY] work around shrinked resources Feb 4, 2020

### Dynamically referenced resources

You can see in `PageObjectTest`, that we referenced `R.layout.page_object_1`, dynamically creating layout.\
Copy link
Contributor

Choose a reason for hiding this comment

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

Enabled shrinkResourses delete resourses referenced only from tests.
Example in PageObjectTest.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

left as it was, i can hardly parse new variant

tools:keep="@layout/page_object*"/>
```

### Try latest stable version of R8
Copy link
Contributor Author

Choose a reason for hiding this comment

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

"Already has a mapping"

tools:keep="@layout/page_object*"/>
```

### Try latest stable version of R8
Copy link
Contributor

Choose a reason for hiding this comment

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

@dsvoronin dsvoronin merged commit cdb4c2c into develop Feb 5, 2020
@dsvoronin dsvoronin deleted the shrinked-res-case branch February 5, 2020 18:51
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.

3 participants