Skip to content

Instantly share code, notes, and snippets.

@notdrone
Created December 22, 2015 04:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notdrone/bcabbaf3e7e042d1b424 to your computer and use it in GitHub Desktop.
Save notdrone/bcabbaf3e7e042d1b424 to your computer and use it in GitHub Desktop.
public static final String FIREBASE_URL = BuildConig.UNIQUE_FIREBASE_ROOT_URL;
inside gradle.properties, add
UNIQUE_FIREBASE_ROOT_URL=”https://url.com/”
inside build.gradle, add
buildTypes.each{
it.buildConfigField ‘Sring’, ‘UNIQUE_FIREBASE_ROOT_URL’, UNIQUE_FIREBASE_ROOT_URL
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment