adding unified push dependency

This commit is contained in:
Adam Brown 2022-08-17 18:29:37 +01:00
parent 6c18cffb1f
commit 7fe3cfa240
2 changed files with 14 additions and 0 deletions

View File

@ -10,6 +10,13 @@ ext.Dependencies.with {
}
}
repositories.maven {
url 'https://jitpack.io'
content {
includeGroup "com.github.UnifiedPush"
}
}
repositories.mavenCentral {
content {
includeGroupByRegex "org\\.jetbrains.*"
@ -140,6 +147,12 @@ ext.Dependencies.with {
matrixOlm = "org.matrix.android:olm-sdk:3.2.12"
}
jitPack = new DependenciesContainer()
jitPack.with {
unifiedPush = "com.github.UnifiedPush:android-connector:2.0.1"
}
}
class DependenciesContainer extends GroovyObjectSupport {

View File

@ -5,4 +5,5 @@ dependencies {
implementation project(':matrix:services:push')
implementation platform('com.google.firebase:firebase-bom:29.0.3')
implementation 'com.google.firebase:firebase-messaging'
implementation Dependencies.jitPack.unifiedPush
}