forked from GitHub-Mirror/riotX-android
Improve dependency download safe path
This commit is contained in:
parent
77056aff94
commit
80a61cf6b5
24
build.gradle
24
build.gradle
@ -24,15 +24,27 @@ buildscript {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url "http://dl.bintray.com/piasy/maven" }
|
// For olm library. This has to be declared first, to ensure that Olm library is not downloaded from another repo
|
||||||
maven { url 'https://jitpack.io' }
|
maven {
|
||||||
|
url 'https://jitpack.io'
|
||||||
|
content {
|
||||||
|
// Use this repo only for olm library
|
||||||
|
includeGroupByRegex "org\\.matrix\\.gitlab\\.matrix-org"
|
||||||
|
// And also for FilePicker
|
||||||
|
includeGroupByRegex "com\\.github\\.jaiselrahman"
|
||||||
|
// And monarchy
|
||||||
|
includeGroupByRegex "com\\.github\\.Zhuinden"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
maven {
|
||||||
|
url "http://dl.bintray.com/piasy/maven"
|
||||||
|
content {
|
||||||
|
includeGroupByRegex "com\\.github\\.piasy"
|
||||||
|
}
|
||||||
|
}
|
||||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
||||||
google()
|
google()
|
||||||
jcenter()
|
jcenter()
|
||||||
// For Olm SDK
|
|
||||||
maven {
|
|
||||||
url 'https://jitpack.io'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ apply plugin: 'realm-android'
|
|||||||
apply plugin: 'okreplay'
|
apply plugin: 'okreplay'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
@ -15,11 +14,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
google()
|
|
||||||
jcenter()
|
|
||||||
}
|
|
||||||
|
|
||||||
androidExtensions {
|
androidExtensions {
|
||||||
experimental = true
|
experimental = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user