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 {
|
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
|
|
|
}
|