mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +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-extensions',
|
||||
].collect{ project(it) }
|
||||
androidOptionalProjects = [
|
||||
':smack-tcp',
|
||||
':smack-extensions',
|
||||
':smack-experimental',
|
||||
':smack-bosh',
|
||||
':smack-omemo',
|
||||
':smack-omemo-signal',
|
||||
].collect{ project(it) }
|
||||
gplLicensedProjects = [
|
||||
':smack-omemo-signal',
|
||||
':smack-omemo-signal-integration-test',
|
||||
|
|
|
@ -9,9 +9,8 @@ smack-extensions and smack-experimental."""
|
|||
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', ':smack-bosh'].contains(it.getPath())
|
||||
}.each { project ->
|
||||
(androidProjects - androidOptionalProjects)
|
||||
.each { project ->
|
||||
compile project
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue