mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-24 03:27:59 +01:00
Make smack-android/smack-java7 declare minimal dependencies
This commit is contained in:
parent
37eeb07376
commit
a2ffaeca1f
2 changed files with 9 additions and 8 deletions
|
@ -1,6 +1,8 @@
|
|||
description = """\
|
||||
Smack for Android.
|
||||
All the required dependencies to run Smack on Android"""
|
||||
All the required dependencies to run Smack on Android.
|
||||
Usually you want to add additional dependencies to smack-tcp,
|
||||
smack-extensions and smack-experimental."""
|
||||
|
||||
ext {
|
||||
smackMinAndroidSdk = 8
|
||||
|
@ -10,7 +12,10 @@ ext {
|
|||
// Note that the test dependencies (junit, …) are inferred from the
|
||||
// sourceSet.test of the core subproject
|
||||
dependencies {
|
||||
androidProjects.each { project ->
|
||||
// Filter out the optional Smack dependencies from androidProjects
|
||||
androidProjects.findAll {
|
||||
![':smack-tcp', ':smack-extensions', ':smack-experimental'].contains(it.getPath())
|
||||
}.each { project ->
|
||||
compile project
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
description = """\
|
||||
Smack for Java7 (or higher).
|
||||
This is a pseudo-artifact that pulls all the required dependencies to
|
||||
run Smack on Java 7 (or higher) JVMs. You can add further dependencies
|
||||
like smack-bosh, run with a minimal subset by don't depending on
|
||||
smack-java7, but using e.g. just smack-core, smack-tcp and
|
||||
smack-resolver-javax"""
|
||||
run Smack on Java 7 (or higher) JVMs. Usually you want to add additional
|
||||
dependencies to smack-tcp, smack-extensions and smack-experimental."""
|
||||
|
||||
dependencies {
|
||||
compile project(":smack-core")
|
||||
compile project(":smack-extensions")
|
||||
compile project(":smack-tcp")
|
||||
compile project(":smack-resolver-javax")
|
||||
compile project(":smack-sasl-javax")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue