This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
ensichat/app/build.gradle
Felix Ableitner a54dd5786b Removed proguard.
This removes some complications with -keep flags etc (but seems
to increase compile time and file size for release builds slightly).
2015-06-30 22:25:18 +02:00

56 lines
1.4 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'jp.leafytree.android-scala'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "jp.leafytree.gradle:gradle-android-scala-plugin:1.4"
}
}
dependencies {
compile "com.android.support:appcompat-v7:22.2.0"
compile 'com.android.support:multidex:1.0.1'
androidTestCompile "com.android.support:multidex-instrumentation:1.0.1", { exclude module: "multidex" }
compile "org.scala-lang:scala-library:2.11.7"
compile 'com.google.guava:guava:18.0'
}
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.nutomic.ensichat"
targetSdkVersion 22
versionCode 4
versionName "0.1.3"
multiDexEnabled true
testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner"
}
buildTypes.debug {
applicationIdSuffix ".debug"
testCoverageEnabled true
}
// Increasing minSdkVersion reduces compilation time for MultiDex.
productFlavors {
dev.minSdkVersion 21
rel.minSdkVersion 15
}
// Avoid duplicate file errors during packaging.
packagingOptions {
exclude 'decoder.properties'
exclude 'rootdoc.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
}
tasks.withType(ScalaCompile) {
scalaCompileOptions.useCompileDaemon = true
}