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

65 lines
1.4 KiB
Groovy
Raw Normal View History

2014-10-03 09:55:35 +00:00
apply plugin: 'com.android.application'
apply plugin: 'jp.leafytree.android-scala'
2014-10-07 13:20:24 +00:00
buildscript {
repositories {
mavenCentral()
}
dependencies {
2014-11-12 21:45:38 +00:00
classpath "jp.leafytree.gradle:gradle-android-scala-plugin:1.3.1"
2014-10-07 13:20:24 +00:00
}
}
dependencies {
compile "com.android.support:support-v4:21.0.0"
2014-11-12 21:45:38 +00:00
compile "org.scala-lang:scala-library:2.11.4"
compile "org.msgpack:msgpack-scala_2.11:0.6.11"
2014-10-07 13:20:24 +00:00
}
2014-10-03 09:55:35 +00:00
android {
compileSdkVersion 21
2014-11-12 21:45:38 +00:00
buildToolsVersion "21.1.1"
2014-10-03 09:55:35 +00:00
defaultConfig {
applicationId "com.nutomic.ensichat"
minSdkVersion 15
targetSdkVersion 21
2014-10-03 09:55:35 +00:00
versionCode 1
versionName "0.1.0"
}
2014-10-07 13:20:24 +00:00
sourceSets {
main {
scala {
srcDir "src/main/scala"
}
}
androidTest {
scala {
srcDir "src/androidTest/scala"
}
}
}
2014-10-03 09:55:35 +00:00
buildTypes {
2014-10-07 13:20:24 +00:00
debug {
minifyEnabled true
proguardFile file("proguard-rules.pro")
applicationIdSuffix ".debug"
2014-10-07 13:20:24 +00:00
}
release {
minifyEnabled true
proguardFile file("proguard-rules.pro")
}
}
2014-10-07 13:20:24 +00:00
// Avoid duplicate file errors during packaging.
packagingOptions {
exclude 'decoder.properties'
exclude 'rootdoc.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
2014-10-03 09:55:35 +00:00
}
}