Created
January 11, 2017 06:06
-
-
Save isfaaghyth/1a6d0d541e5abe660a5f91aa34cc7453 to your computer and use it in GitHub Desktop.
This file contains 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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 23 | |
buildToolsVersion "23.0.2" | |
defaultConfig { | |
applicationId "net.mnafian.buildflavorsample" | |
minSdkVersion 16 | |
targetSdkVersion 23 | |
versionCode 1 | |
versionName "1.0" | |
buildConfigField("String", "URI", "\"http://isfaa.me\"") | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
testCompile 'junit:junit:4.12' | |
compile 'com.android.support:appcompat-v7:23.2.0' | |
compile 'com.android.support:design:23.2.0' | |
} |
This file contains 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
static String BASE_URL = BuildConfig.URI; | |
Log.d(this.getClassName(), BASE_URL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment