apply plugin: 'com.android.application'
apply plugin: 'jp.leafytree.android-scala'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "jp.leafytree.gradle:gradle-android-scala-plugin:1.2.1"
compile "org.scala-lang:scala-library:2.10.4"
compile "org.msgpack:msgpack-scala_2.11:0.6.11"
android {
compileSdkVersion 21
buildToolsVersion "21.1.0"
defaultConfig {
applicationId "com.nutomic.ensichat"
minSdkVersion 15
targetSdkVersion 21
versionCode 1
versionName "0.1.0"
sourceSets {
main {
scala {
srcDir "src/main/scala"
androidTest {
srcDir "src/androidTest/scala"
buildTypes {
debug {
minifyEnabled true
proguardFile file("proguard-rules.pro")
applicationIdSuffix ".debug"
release {
// Avoid duplicate file errors during packaging.
packagingOptions {
exclude 'decoder.properties'
exclude 'rootdoc.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'