2014-08-01 10:34:47 +02:00
|
|
|
description = """\
|
|
|
|
Smack for Android.
|
2014-09-19 11:27:40 +02:00
|
|
|
All the required dependencies to run Smack on Android.
|
2014-11-21 14:23:13 +01:00
|
|
|
Usually you want to add additional dependencies like smack-tcp,
|
2014-09-19 11:27:40 +02:00
|
|
|
smack-extensions and smack-experimental."""
|
2014-08-01 10:34:47 +02:00
|
|
|
|
|
|
|
// Note that the test dependencies (junit, …) are inferred from the
|
|
|
|
// sourceSet.test of the core subproject
|
|
|
|
dependencies {
|
2019-05-06 22:06:13 +02:00
|
|
|
api project(':smack-xmlparser-xpp3')
|
2018-05-03 17:09:37 +02:00
|
|
|
// Depend on minidns-android21 as optional dependency, even if may
|
|
|
|
// not need it. Can't hurt to have it in the programm path with
|
|
|
|
// the correct MiniDNS version as it won't hurt even if the
|
|
|
|
// Android version is smaller then 21. Note that we deliberatly do
|
|
|
|
// not add this to smack-minidns, as this dependency may also be
|
|
|
|
// used in non-Android projects.
|
|
|
|
compile "org.minidns:minidns-android21:$miniDnsVersion"
|
|
|
|
|
2015-02-19 13:20:58 +01:00
|
|
|
// androidProjects lists all projects that are checked to compile against android.jar
|
2014-09-19 11:27:40 +02:00
|
|
|
// Filter out the optional Smack dependencies from androidProjects
|
2017-10-27 20:54:06 +02:00
|
|
|
(androidProjects - androidOptionalProjects)
|
|
|
|
.each { project ->
|
2014-08-01 10:34:47 +02:00
|
|
|
compile project
|
|
|
|
}
|
2016-02-24 10:46:00 +01:00
|
|
|
|
|
|
|
// Add the Android jar to the Eclipse .classpath.
|
|
|
|
compile files(androidBootClasspath)
|
2014-08-01 10:34:47 +02:00
|
|
|
}
|