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:
Aayush Gupta
2025-07-07 14:27:08 +08:00
parent e0071aa3c2
commit 31b1567c86
3 changed files with 8 additions and 3 deletions

View File

@@ -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")