mvp: Introducing Model View Presenter pattern
libringclient is a new module where we will put avery non Android code.
MVP must not depend on Android.
app now depends on that module. It should improve reusability.
Change-Id: I20c7d7adeed43212a21e5e617e6d2b6054db8a40
Tuleap: #1217
diff --git a/ring-android/app/build.gradle b/ring-android/app/build.gradle
index 64f4621..4f4b26b 100644
--- a/ring-android/app/build.gradle
+++ b/ring-android/app/build.gradle
@@ -7,6 +7,7 @@
dependencies {
compile fileTree(include: '*.jar', dir: 'libs')
+ compile project(':libringclient')
compile 'com.android.support:support-v13:24.2.1'
compile 'com.android.support:design:24.2.1'
@@ -23,7 +24,7 @@
// Parsing, formatting, and validating international phone numbers
compile 'com.googlecode.libphonenumber:libphonenumber:7.0.11'
-
+
// Library for listview headers
compile 'se.emilsjolander:stickylistheaders:2.7.0'
@@ -98,6 +99,6 @@
def sp = archs.split(',')
include(sp)
universalApk true
+ }
}
- }
}