From 934d325c2aafe7e6b452af5cfdc19c883e058a7b Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 9 Dec 2021 21:05:31 +0100 Subject: [PATCH] Add explicit dependency location for olm library --- build.gradle | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 85b23503b3..e477859c97 100644 --- a/build.gradle +++ b/build.gradle @@ -37,8 +37,13 @@ allprojects { apply plugin: "org.jlleitschuh.gradle.ktlint" repositories { - // For olm library. This has to be declared first, to ensure that Olm library is not downloaded from another repo - maven { url 'https://gitlab.matrix.org/api/v4/projects/27/packages/maven' } + // For olm library. + maven { + url 'https://gitlab.matrix.org/api/v4/projects/27/packages/maven' + content { + includeGroup 'org.matrix.android' + } + } maven { url 'https://jitpack.io'