Skip to content
This repository was archived by the owner on Dec 8, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
apply plugin: 'com.android.application'
apply plugin: 'jp.leafytree.android-scala'

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:0.14.4"
classpath "jp.leafytree.gradle:gradle-android-scala-plugin:1.3.1"
}
}

dependencies {
compile "com.android.support:support-v4:21.0.0"
compile "org.scala-lang:scala-library:2.11.4"
compile "org.msgpack:msgpack-scala_2.11:0.6.11"
repositories {
jcenter()
}
apply plugin: 'com.android.application'
apply plugin: 'jp.leafytree.android-scala'

android {
compileSdkVersion 21
Expand Down Expand Up @@ -44,7 +41,7 @@ android {

buildTypes {
debug {
minifyEnabled true
// minifyEnabled true
proguardFile file("proguard-rules.pro")
applicationIdSuffix ".debug"
}
Expand All @@ -62,3 +59,16 @@ android {
exclude 'META-INF/NOTICE'
}
}

dependencies {
compile "com.android.support:support-v4:21.+"
provided "org.scala-lang:scala-library:2.11.4"
compile("org.msgpack:msgpack-scala_2.11:0.6.11") {
transitive = false;
}
compile('org.msgpack:msgpack:0.6.11'){
transitive = false;
}
}


4 changes: 3 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

<uses-feature android:name="android.hardware.bluetooth" android:required="true" />

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >

<uses-library android:name="s1"/>
<uses-library android:name="s2"/>
<uses-library android:name="s3"/>
<activity
android:name=".activities.MainActivity"
android:label="@string/app_name"
Expand Down