Last active
August 29, 2015 14:26
-
-
Save rayshih/b251607aa2caec1303ae 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
android { | |
defaultConfig { | |
// other setting | |
// minSdkVersion 15 // 這行要拿掉 | |
multiDexEnabled true // 設定啟動 multidex | |
} | |
productFlavors { | |
dev { | |
minSdkVersion 21 // only apply after android 5.0 | |
} | |
prod { | |
minSdkVersion 15 | |
} | |
} | |
buildTypes { | |
/* remove debug mode proguard | |
debug { | |
minifyEnabled true | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
*/ | |
release { | |
minifyEnabled true | |
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