JakeWharton / Telecine

Record full-resolution video on your Android devices.
Apache License 2.0
2.46k stars 460 forks source link

Provide pure-floss build flavor #90

Open ghost opened 8 years ago

ghost commented 8 years ago

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

JakeWharton commented 8 years ago

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

ghost commented 8 years ago

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.