Created
November 25, 2017 07:39
-
-
Save tolmachevroman/9bf6107b11cc46617a78ca07affa14d7 to your computer and use it in GitHub Desktop.
Medium Post 1. URL, build.gradle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildTypes { | |
// | |
debug { | |
buildConfigField 'String', 'URL', '"http://192.168.1.195:8080/"' | |
} | |
release { | |
buildConfigField 'String', 'URL', '"https://my-json-server.typicode.com/tolmachevroman/demo/"' | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment