Only add Java project to the dependencies if they are exported.

Change-Id: Ieae3414762d062b745b9b47bdea8c31a6593e34f
diff --git a/testapps/javaProjectTest/lib1/.classpath b/testapps/javaProjectTest/lib1/.classpath
index f2d9197..3cdb2e0 100644
--- a/testapps/javaProjectTest/lib1/.classpath
+++ b/testapps/javaProjectTest/lib1/.classpath
@@ -4,6 +4,6 @@
 	<classpathentry kind="src" path="gen"/>
 	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
 	<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
-	<classpathentry combineaccessrules="false" kind="src" path="/javaProjectTest-javaProject"/>
+	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/javaProjectTest-javaProject"/>
 	<classpathentry kind="output" path="bin/classes"/>
 </classpath>