From 2663a62033ef700a62b6074b04a110e5912e8be1 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 19 Feb 2015 13:20:58 +0100 Subject: [PATCH] Filter smack-bosh from smack-android dependencies smack-bosh was recently added to androidProjects, but it was not filtered out from the dependencies for smack-android. Since it is an optional dependency, it should not be a dependency of smack-android. --- smack-android/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/smack-android/build.gradle b/smack-android/build.gradle index 84326fb2e..48e9a4785 100644 --- a/smack-android/build.gradle +++ b/smack-android/build.gradle @@ -7,9 +7,10 @@ smack-extensions and smack-experimental.""" // Note that the test dependencies (junit, …) are inferred from the // sourceSet.test of the core subproject dependencies { + // androidProjects lists all projects that are checked to compile against android.jar // Filter out the optional Smack dependencies from androidProjects androidProjects.findAll { - ![':smack-tcp', ':smack-extensions', ':smack-experimental'].contains(it.getPath()) + ![':smack-tcp', ':smack-extensions', ':smack-experimental', ':smack-bosh'].contains(it.getPath()) }.each { project -> compile project }