Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Commit

Permalink
Made it work
Browse files Browse the repository at this point in the history
  • Loading branch information
Arneball committed Nov 30, 2014
1 parent d565bdb commit 4f9ccfa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
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

0 comments on commit 4f9ccfa

Please sign in to comment.