I have been playing around with the paho Android service the last days and wanted to build the Sample App with Gradle. For some reason the org.eclipse.paho.android.service available at [1] includes the android support library v4 as a dependency.
$ gradle -q :app:dependencies
_debugApk - ## Internal use, do not manually configure ##
+--- com.android.support:support-v4:21.0.3
| \--- com.android.support:support-annotations:21.0.3
\--- org.eclipse.paho:org.eclipse.paho.android.service:1.0.1-SNAPSHOT
+--- org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.1-SNAPSHOT
\--- com.google.android:support-v4:r7
_debugCompile - ## Internal use, do not manually configure ##
+--- com.android.support:support-v4:21.0.3
| \--- com.android.support:support-annotations:21.0.3
\--- org.eclipse.paho:org.eclipse.paho.android.service:1.0.1-SNAPSHOT
+--- org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.1-SNAPSHOT
\--- com.google.android:support-v4:r7
....
compile - Classpath for compiling the main sources.
+--- com.android.support:support-v4:21.0.3
| \--- com.android.support:support-annotations:21.0.3
\--- org.eclipse.paho:org.eclipse.paho.android.service:1.0.1-SNAPSHOT
+--- org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.1-SNAPSHOT
\--- com.google.android:support-v4:r7
....
to properly build the sample App.