mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 12:37:58 +01:00
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.
This commit is contained in:
parent
5f4374ec26
commit
2663a62033
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue