Felix Ableitner
3bd4feacbd
- ChatFragment with layout, Fragment handling in MainActivity - [MessagePack](http://msgpack.org/) serialization in TextMessage - MessageStore to hold old messages - various small code enhancements Way too many changes for one commit, but it's too late to change.
55 lines
1 KiB
Groovy
55 lines
1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'android-scala'
|
|
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath "jp.leafytree.gradle:gradle-android-scala-plugin:1.0"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.scala-lang:scala-library:2.11.2"
|
|
compile "org.msgpack:msgpack-scala_2.11:0.6.11"
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 21
|
|
buildToolsVersion "19.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 {
|
|
scala {
|
|
srcDir "src/androidTest/scala"
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
applicationIdSuffix ".debug"
|
|
}
|
|
}
|
|
|
|
// Avoid duplicate file errors during packaging.
|
|
packagingOptions {
|
|
exclude 'decoder.properties'
|
|
exclude 'rootdoc.txt'
|
|
}
|
|
}
|