Skip to content

Instantly share code, notes, and snippets.

@rscott78
Created September 15, 2015 01:31
Show Gist options
  • Save rscott78/19dd88ccde66172d9332 to your computer and use it in GitHub Desktop.
Save rscott78/19dd88ccde66172d9332 to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion '21.1.1'
defaultConfig {
applicationId "com.my.app"
minSdkVersion 16
targetSdkVersion 19
versionCode 166222
versionName "3.5"
multiDexEnabled = true
}
dexOptions {
javaMaxHeapSize "2g"
}
signingConfigs {
release {
keyAlias = "tochanged"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
if (project.hasProperty('storeFile') && project.hasProperty('storePassword') && project.hasProperty('keyPassword')) {
/* file://Z:\work\Java\workspace\Commotion\commotion-key.keystore */
/* android.signingConfigs.release.storeFile = file(storeFile) */
android.signingConfigs.release.storeFile = file(storeFile)
android.signingConfigs.release.storePassword = storePassword
android.signingConfigs.release.keyPassword = keyPassword
android.signingConfigs.release.keyAlias = keyAlias
}
//
productFlavors {
customer {
applicationId = "com.my.app"
}
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
dependencies {
compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
compile fileTree(dir: 'libs', include: ['*.jar'])
/* compile 'com.android.support:appcompat-v7:23.0.0' */
compile 'com.android.support:support-v4:19.0.0'
/*compile 'org.apache.httpcomponents:httpclient:4.2.6'
compile 'org.apache.httpcomponents:httpmime:4.2.6'*/
/* compile "com.google.android.gms:play-services:7.5" */
compile('com.google.android.gms:play-services:6.5.+') {
exclude module: 'support-v4'
}
compile files('libs/Pubnub-Android.jar')
compile files('libs/bcprov-jdk15on-1.47.jar')
compile files('libs/twitter4j-core-3.0.3.jar')
compile files('libs/joda-time-2.2.jar')
compile files('libs/socketio.jar')
compile project(':NewQuickAction')
compile project(':facebook')
compile fileTree(dir: 'libs', include: 'armeabi.jar')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment