Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- repositories {
- maven { url 'https://maven.fabric.io/public' }
- }
- dependencies {
- classpath 'io.fabric.tools:gradle:1.20.1' //app crashes on start with new version 1.21.0
- }
- }
- apply plugin: 'com.android.application'
- apply plugin: 'io.fabric'
- apply plugin: 'me.tatarka.retrolambda'
- repositories {
- maven { url 'https://maven.fabric.io/public' }
- }
- android {
- compileSdkVersion 17
- buildToolsVersion "21.1.2"
- defaultConfig {
- applicationId "com.taxipixi.incarapp"
- minSdkVersion 10
- targetSdkVersion 21
- versionCode 43
- versionName '4.3'
- multiDexEnabled false
- }
- lintOptions {
- checkReleaseBuilds false
- // Or, if you prefer, you can continue to check for errors in release builds,
- // but continue the build even when errors are found:
- abortOnError false
- }
- signingConfigs {
- release {
- storeFile file("taxipixi_dev.keystore")
- storePassword 'taxipixi#10'
- keyAlias "taxipixidevkey"
- keyPassword 'taxipixi#10'
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- shrinkResources false
- debuggable false
- // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.release
- }
- debug {
- minifyEnabled false
- zipAlignEnabled true
- debuggable true
- signingConfig signingConfigs.release
- }
- }
- productFlavors {
- beta {
- buildConfigField "String", "API_URL", "\"https://beta.taxipixi.com/\""
- buildConfigField "String", "PICTURE_BUCKET", "\"taxipixiprod\""
- buildConfigField "String", "DRIVER_APP_VERSION", "\"44\""
- buildConfigField "String", "CURRENT_APP_VERSION", "\"12\""
- }
- staging {
- buildConfigField "String", "API_URL", "\"https://staging.taxipixi.com/\""
- buildConfigField "String", "PICTURE_BUCKET", "\"taxipixigo\""
- buildConfigField "String", "DRIVER_APP_VERSION", "\"44\""
- buildConfigField "String", "CURRENT_APP_VERSION", "\"12\""
- }
- production {
- buildConfigField "String", "API_URL", "\"https://driver.taxipixi.com/\""
- buildConfigField "String", "PICTURE_BUCKET", "\"taxipixiprod\""
- buildConfigField "String", "DRIVER_APP_VERSION", "\"44\""
- buildConfigField "String", "CURRENT_APP_VERSION", "\"12\""
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- compile project(':taxipixilibrary')
- compile 'com.android.support:support-v4:22.2.1'
- compile 'uk.co.chrisjenx:calligraphy:2.0.2'
- compile('com.crashlytics.sdk.android:crashlytics:2.2.2@aar') {
- transitive = true;
- }
- compile 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'
- compile 'com.amazonaws:aws-android-sdk-s3:2.2.0'
- compile 'com.squareup.picasso:picasso:2.5.2'
- compile 'com.pubnub:pubnub-android:3.7.5'
- compile 'com.android.support:multidex:1.0.1'
- }
- android {
- packagingOptions {
- exclude 'META-INF/DEPENDENCIES.txt'
- exclude 'META-INF/LICENSE.txt'
- exclude 'META-INF/NOTICE.txt'
- exclude 'META-INF/NOTICE'
- exclude 'META-INF/LICENSE'
- exclude 'META-INF/DEPENDENCIES'
- exclude 'META-INF/notice.txt'
- exclude 'META-INF/license.txt'
- exclude 'META-INF/dependencies.txt'
- exclude 'META-INF/LGPL2.1'
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment