Skip to content

Instantly share code, notes, and snippets.

@isfaaghyth
Created January 11, 2017 06:06
Show Gist options
  • Save isfaaghyth/1a6d0d541e5abe660a5f91aa34cc7453 to your computer and use it in GitHub Desktop.
Save isfaaghyth/1a6d0d541e5abe660a5f91aa34cc7453 to your computer and use it in GitHub Desktop.
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'
}
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