excluding jitsi's android-scalablevideoview fork's support library

- The library exports a jetified artifact but doesn't remove the support library dependency /home/adam/dev/element/element-android/vector/build.gradle
This commit is contained in:
Adam Brown 2022-09-15 13:41:57 +01:00
parent c61df899b4
commit 4e99217164

View file

@ -100,7 +100,6 @@ android {
viewBinding true
}
}
dependencies {
implementation project(":vector-config")
api project(":matrix-sdk-android")
@ -240,6 +239,19 @@ dependencies {
// implementation 'org.webrtc:google-webrtc:1.0.+'
implementation('com.facebook.react:react-native-webrtc:1.94.2-jitsi-10227332@aar')
// Exclude jitsi's android-scalablevideoview fork's support library
// The library exports a jetified artifact but doesn't remove the support library dependency
// https://github.com/MatrixFrog/Android-ScalableVideoView/blob/master/gradle.properties#L1
components {
withModule("com.github.MatrixFrog:android-scalablevideoview") {
allVariants {
withDependencies {
removeAll { it.group == "com.android.support" && it.name == "appcompat-v7" }
}
}
}
}
// Jitsi
api('org.jitsi.react:jitsi-meet-sdk:5.0.2') {
exclude group: 'com.google.firebase'
@ -247,6 +259,7 @@ dependencies {
exclude group: 'com.android.installreferrer'
}
// QR-code
// Stick to 3.3.3 because of https://github.com/zxing/zxing/issues/1170
implementation 'com.google.zxing:core:3.3.3'