Skip to content
This repository was archived by the owner on Sep 10, 2020. It is now read-only.

Provide pure-floss build flavor #90

Open
ghost opened this issue Jan 24, 2016 · 2 comments
Open

Provide pure-floss build flavor #90

ghost opened this issue Jan 24, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 24, 2016

Google Analytics (and most likely bugsnag?) is non-free software, could you provide a gradle flavor that does not require this?

@JakeWharton
Copy link
Owner

Provide how? The debug build does not use either of these services.

@ghost
Copy link
Author

ghost commented Jan 30, 2016

Still they are required by build.gradle (and checked before anything is actually build) You can add build flavors like

productFlavors {
        play {
        }
        free {
        }
    }

and then marking the dependcies only with playCompile instead of compile. After that you can move all flavor related stuff out of src/main into /src/play or src/free instead. If this is possible with your app requires deeper knoledge of how and why those services are used.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant