-
Notifications
You must be signed in to change notification settings - Fork 318
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
Fix Proguard issues #825
Fix Proguard issues #825
Conversation
bc88558
to
d0a9712
Compare
@@ -18,8 +18,7 @@ android { | |||
testCoverageEnabled = false | |||
} | |||
release { | |||
minifyEnabled false | |||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be removing the proguard file here? Will our rules still be tested if we do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be removing the proguard file here?
Yeah, we're not including any specific Proguard rules for the test app.
Will our rules still be tested if we do?
Yeah, this is managed by consumerProguardFiles
. BTW you can check the build and 👀 that Proguard is running and working https://circleci.com/gh/mapbox/mapbox-navigation-android/3875?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link (Build release to test ProGuard rules
step)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Guardiola31337 awesome, thanks for the clarification and quick turn around on this
Here are the proguard rules (coming from MAS) that worked for MapsSdkTestApp |
Adds Proguard rules to
libandroid-navigation
andlibandroid-navigation-ui
so that builds with Proguard enabled don't fail.Adds a step to the CI build to attempt to check if Proguard rules work.
Fixes Proguard Release Build Fails #824
👀 @danesfeder @devotaaabel