mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Make sure Android dependencies are fetched from Google's repo in Gradle sync
This commit is contained in:
committed by
Jorge Martin Espinosa
parent
666081e2f2
commit
10776a7e6b
+13
-1
@@ -25,7 +25,19 @@ dependencyResolutionManagement {
|
||||
includeModule("com.github.philburk", "jsyn")
|
||||
}
|
||||
}
|
||||
google()
|
||||
// Check for official Android-related packages only in Google's maven repo
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
google()
|
||||
}
|
||||
filter {
|
||||
includeGroupByRegex("android\\..*")
|
||||
includeGroupByRegex("androidx\\..*")
|
||||
includeGroupByRegex("com\\.android\\.tools.*")
|
||||
includeGroupByRegex("com\\.google\\.firebase.*")
|
||||
includeGroupByRegex("com\\.google\\.android.*")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
maven {
|
||||
url = uri("https://repo1.maven.org/maven2/")
|
||||
|
||||
Reference in New Issue
Block a user