apply plugin: 'com.android.application' repositories { mavenCentral() jcenter() } android { flavorDimensions "analytics" productFlavors { withAnalytics { dimension "analytics" } noAnalytics { dimension "analytics" } } lintOptions { checkReleaseBuilds false abortOnError false } compileSdkVersion 22 buildToolsVersion '23.0.0' defaultConfig { versionCode 111 versionName "2.1.0" minSdkVersion 15 targetSdkVersion 22 } buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'qksms-proguard.pro' } } compileOptions { compileOptions.encoding = "UTF-8" // Use Java 1.7, requires minSdk 8 sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } lintOptions { checkReleaseBuilds false abortOnError false // Translations are crowd-sourced disable 'MissingTranslation' } } dependencies { // Open source libraries compile 'com.readystatesoftware.systembartint:systembartint:1.0.4' compile 'com.melnykov:floatingactionbutton:1.3.0' compile 'com.pushbullet:android-extensions:1.0.4' compile 'com.klinkerapps:android-chips:1.0.0' compile 'com.googlecode.libphonenumber:libphonenumber:6.2' compile 'com.nispok:snackbar:2.10.6' compile 'com.github.lzyzsd:circleprogress:1.1.0' debugCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3' //debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3' releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3' compile 'com.vdurmont:emoji-java:1.1.1' compile 'me.leolin:ShortcutBadger:1.1.1' compile 'com.googlecode.ez-vcard:ez-vcard:0.9.6' compile 'com.google.code.gson:gson:2.3' compile 'com.koushikdutta.ion:ion:1.1.7' compile 'org.ligi:snackengage:0.4' // Google libraries compile 'com.android.support:appcompat-v7:22.2.1' compile 'com.android.support:support-v13:22.2.1' compile 'com.android.support:recyclerview-v7:22.2.1' withAnalyticsCompile 'com.google.android.gms:play-services-analytics:7.5.0' // External services withAnalyticsCompile 'com.crittercism:crittercism-android-agent:5.0.3' }