Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[android] #6077 - keep rules for Signature and Annotation - #6085

Merged
tobrun merged 2 commits into
masterfrom
6077-proguard-fix
Aug 22, 2016
Merged

tobrun merged 2 commits into
masterfrom
6077-proguard-fix

Conversation

@tobrun

@tobrun tobrun commented Aug 19, 2016

Copy link
Copy Markdown
Member

Closes #6077

I was able to proguard the testapp with this configuration. Would love some 👀 .

You can retest this with adding the following in our build.gradle of the testapp:

    buildTypes {
        debug {
            // run code coverage reports
            testCoverageEnabled = true
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }

Review @cammace, @bleege

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Aug 19, 2016
@tobrun tobrun added this to the android-v4.2.0 milestone Aug 19, 2016
@tobrun tobrun mentioned this pull request Aug 19, 2016
@tobrun tobrun self-assigned this Aug 19, 2016
@cammace

cammace commented Aug 19, 2016

Copy link
Copy Markdown
Contributor

Looks good to merge @tobrun, Once in master and the next SNAPSHOT's built, i'll test in the app 😉

…file to mimic package structure project.
@tobrun

tobrun commented Aug 22, 2016

Copy link
Copy Markdown
Member Author

I try to revisiting proposed PR by keeping generic innerclasses specificaly. This would remove the need for keep Attributes, Signature but couldn't get it to work for the generic constructor of MarkerViewAdapter<T>. I'm going to point on this for now but revisit later.

@tobrun

tobrun commented Aug 22, 2016

Copy link
Copy Markdown
Member Author

After rebasing in i'm also noticing issues with mapbox-java depedency. Going to keep that package that for now and created a follow ticket in mapbox/mapbox-java#178. Will push my commit and merge.

@tobrun
tobrun force-pushed the 6077-proguard-fix branch from cba8cda to 62ccfa4 Compare August 22, 2016 08:54
@tobrun

tobrun commented Aug 22, 2016

Copy link
Copy Markdown
Member Author

CI approved, going to merge cc @mapbox/android.

@tobrun
tobrun merged commit 3ef272e into master Aug 22, 2016
@zugaldia

Copy link
Copy Markdown
Member

@tobrun @cammace Why are we doing com.mapbox.mapboxsdk.<package>.* for each package in the SDK, instead of doing com.mapbox.mapboxsdk.* to cover them all and keep the rules shorter. Any particular advantages?

@jfirebaugh
jfirebaugh deleted the 6077-proguard-fix branch September 16, 2016 18:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants