Files
quik/QKSMS/build.gradle
T
2016-03-21 00:36:05 -04:00

117 lines
3.2 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'io.fabric'
repositories {
mavenCentral()
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://clojars.org/repo/' }
}
android {
flavorDimensions "analytics"
productFlavors {
withAnalytics {
dimension "analytics"
}
noAnalytics {
dimension "analytics"
}
}
lintOptions {
checkReleaseBuilds false
abortOnError false
disable 'InvalidPackage'
}
compileSdkVersion 22
buildToolsVersion '23.0.2'
defaultConfig {
versionCode 127
versionName "2.5.5"
minSdkVersion 15
targetSdkVersion 22
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'qksms-proguard.pro'
}
debug {
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_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
checkReleaseBuilds false
abortOnError false
// Translations are crowd-sourced
disable 'MissingTranslation'
}
}
buildscript {
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'me.tatarka:gradle-retrolambda:3.2.2'
classpath 'io.fabric.tools:gradle:1.21.5'
}
}
dependencies {
// Open source libraries
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.melnykov:floatingactionbutton:1.3.0'
compile 'com.pushbullet:android-extensions:1.0.4'
compile 'com.jakewharton:butterknife:7.0.1'
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.1'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1'
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.4'
compile 'com.koushikdutta.ion:ion:1.1.7'
compile 'org.ligi:snackengage:0.4'
compile 'frankiesardo:icepick:3.2.0'
provided 'frankiesardo:icepick-processor:3.2.0'
// Google libraries
compile 'com.android.support:multidex:1.0.1'
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:8.3.0'
// External services
withAnalyticsCompile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') {
transitive = true;
}
}