Limit scope of huawei dependencies

pull/1293/head
andrew 11 months ago
parent ae9d3810e1
commit 296c5d743f

@ -2,7 +2,12 @@ buildscript {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { url 'https://developer.huawei.com/repo/' } if (project.hasProperty('huawei')) maven {
url 'https://developer.huawei.com/repo/'
content {
includeGroup 'com.huawei.agconnect'
}
}
} }
dependencies { dependencies {
@ -58,7 +63,15 @@ allprojects {
} }
jcenter() jcenter()
maven { url "https://jitpack.io" } maven { url "https://jitpack.io" }
if (project.hasProperty('huawei')) maven { url 'https://developer.huawei.com/repo/' } if (project.hasProperty('huawei')) maven {
url 'https://developer.huawei.com/repo/'
content {
includeGroup 'com.huawei.android.hms'
includeGroup 'com.huawei.agconnect'
includeGroup 'com.huawei.hmf'
includeGroup 'com.huawei.hms'
}
}
} }
project.ext { project.ext {

Loading…
Cancel
Save