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

Disable proguard mapping task setup when variant does not obfuscate #157

Merged
merged 3 commits into from
Apr 12, 2019

Conversation

fractalwrench
Copy link
Contributor

Goal

Currently the plugin does not setup any tasks if ProGuard/DexGuard is disabled. This prevents the upload of NDK symbols/release information if a user has a project without obfuscation enabled.

Changeset

Altered the plugin so that only the setup for the proguard mapping file task is skipped if a variant has obfuscation disabled.

Tests

Ran ./gradlew assemble in a project with minifyEnabled false using the current version of the plugin and then a local artefact. I visually inspected the gradle console and confirmed that the NDK upload task was run.

Copy link
Contributor

@simonbowring simonbowring left a comment

Choose a reason for hiding this comment

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

LGTM

@fractalwrench fractalwrench merged commit e0839a1 into master Apr 12, 2019
@fractalwrench fractalwrench deleted the alter-ndk-task-setup branch April 12, 2019 12:43
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