build: Require java 1.7 and add jndn* libraries as maven repository dependencies

Change-Id: I3cc761d3f67a893bc3f346656b07a87fc60c532c
diff --git a/.gitignore b/.gitignore
index eb380e5..e6a4ae9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,6 +41,7 @@
 
 # Gradle cache
 .gradle
+gradle.properties
 
 # Sandbox stuff
 _sandbox
diff --git a/app/build.gradle b/app/build.gradle
index 94fcb91..8214644 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -13,6 +13,10 @@
         versionCode 2001
         versionName "0.2.1"
     }
+    compileOptions {
+        sourceCompatibility JavaVersion.VERSION_1_7
+        targetCompatibility JavaVersion.VERSION_1_7
+    }
     buildTypes {
         release {
             minifyEnabled false
@@ -115,8 +119,22 @@
     return ndk_dir
 }
 
+repositories {
+    mavenLocal()
+    mavenCentral()
+}
+
 dependencies {
     compile fileTree(dir: 'libs', include: ['*.jar'])
     compile 'com.android.support:appcompat-v7:20.0.0'
     compile 'com.android.support:support-v4:21.0.3'
+
+    compile 'net.named-data:jndn:0.4'
+    compile 'net.named-data.jndn-xx:jndn-xx-util:0.0.1'
+
+    compile 'com.intel.jndn.utils:jndn-utils:0.9.5'
+    compile 'com.intel.jndn.management:jndn-management:0.9.5'
+    compile 'com.google.protobuf:protobuf-java:2.6.1'
+
+    compile 'joda-time:joda-time:2.7'
 }