Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 2.56 KB

CONTRIBUTING.md

File metadata and controls

65 lines (49 loc) · 2.56 KB

Contributing

Note: This work is licensed under the Apache License 2.0. If you contribute any non-trivial patches or translations make sure you have read it and agree with it.

Would you like to contribute code?

  1. Fork SeriesGuide and clone your fork.
  2. See the notes about building the app below.
  3. Create a new branch (using GitHub or the command git checkout -b descriptive-branch-name dev).
  4. Make great commits.
  5. Start a pull request and reference issues if needed.

No code!

Building

To get started:

  1. Import the SeriesGuide folder as a new project in Android Studio.
  2. Select the pureDebug build variant (defined in app/build.gradle). Learn about product flavors.

Debug

Debug builds should just work.

TMDB, trakt

To add shows or movies you need to create an API key for TMDB and OAuth credentials for trakt. Place them in secret.properties in the project directory (where settings.gradle is):

SG_TMDB_API_KEY=<your api key>
SG_TRAKT_CLIENT_ID=<your trakt client id>
SG_TRAKT_CLIENT_SECRET=<your trakt client secret>

Release

To release some additional secret.properties values might be necessary:

# Play Store in-app billing public key
SG_IAP_KEY_A=<keypart>
SG_IAP_KEY_B=<keypart>
SG_IAP_KEY_C=<keypart>
SG_IAP_KEY_D=<keypart>

# Credentials to publish the API jar
SONATYPE_NEXUS_USERNAME=<your sonatype username>
SONATYPE_NEXUS_PASSWORD=<your sonatype password>

Crashlytics

To use Crashlytics download and add your app/google-services.json.