Skip to content

Instantly share code, notes, and snippets.

@pradeepkumargali
Last active November 27, 2016 06:34
Show Gist options
  • Save pradeepkumargali/5a57cd41171972eaba03d0be561d313d to your computer and use it in GitHub Desktop.
Save pradeepkumargali/5a57cd41171972eaba03d0be561d313d to your computer and use it in GitHub Desktop.
Gradle file for Salesforce SDK in Android Studio
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.xxx.xxx.xxx.xxx"
minSdkVersion 17
targetSdkVersion 21
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
defaultConfig {
multiDexEnabled true }
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
}
dependencies {
compile project(':cordovaAppCordovaLib')
compile project(':smartSync')
compile ('com.google.android.gms:play-services:+'){
exclude module: 'support-v4' }
compile files('libs/android-support-v13.jar')
compile files('libs/gcm.jar')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment