gradle: Limit huawei maven repo to coreservice
* We don't want any more modules from huawei's maven repo except coreservice * Rename libs syntax to be more clear about developer Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -36,7 +36,12 @@ dependencyResolutionManagement {
|
||||
includeModule("com.github.topjohnwu.libsu", "core")
|
||||
}
|
||||
}
|
||||
maven { url = uri("https://developer.huawei.com/repo/") }
|
||||
// Only included in huawei variants
|
||||
maven("https://developer.huawei.com/repo/") {
|
||||
content {
|
||||
includeModule("com.huawei.hms", "ag-coreservice")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
include(":app")
|
||||
|
||||
Reference in New Issue
Block a user