mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 13:32:07 +01:00
Don't let smack-android depend on smack-omemo(-signal)
Fixes SMACK-779.
This commit is contained in:
parent
1b2521269e
commit
1d52a0c8ef
2 changed files with 10 additions and 3 deletions
|
@ -79,6 +79,14 @@ allprojects {
|
||||||
':smack-android',
|
':smack-android',
|
||||||
':smack-android-extensions',
|
':smack-android-extensions',
|
||||||
].collect{ project(it) }
|
].collect{ project(it) }
|
||||||
|
androidOptionalProjects = [
|
||||||
|
':smack-tcp',
|
||||||
|
':smack-extensions',
|
||||||
|
':smack-experimental',
|
||||||
|
':smack-bosh',
|
||||||
|
':smack-omemo',
|
||||||
|
':smack-omemo-signal',
|
||||||
|
].collect{ project(it) }
|
||||||
gplLicensedProjects = [
|
gplLicensedProjects = [
|
||||||
':smack-omemo-signal',
|
':smack-omemo-signal',
|
||||||
':smack-omemo-signal-integration-test',
|
':smack-omemo-signal-integration-test',
|
||||||
|
|
|
@ -9,9 +9,8 @@ smack-extensions and smack-experimental."""
|
||||||
dependencies {
|
dependencies {
|
||||||
// androidProjects lists all projects that are checked to compile against android.jar
|
// androidProjects lists all projects that are checked to compile against android.jar
|
||||||
// Filter out the optional Smack dependencies from androidProjects
|
// Filter out the optional Smack dependencies from androidProjects
|
||||||
androidProjects.findAll {
|
(androidProjects - androidOptionalProjects)
|
||||||
![':smack-tcp', ':smack-extensions', ':smack-experimental', ':smack-bosh'].contains(it.getPath())
|
.each { project ->
|
||||||
}.each { project ->
|
|
||||||
compile project
|
compile project
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue