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:
@@ -264,7 +264,7 @@ dependencies {
|
|||||||
|
|
||||||
implementation(libs.process.phoenix)
|
implementation(libs.process.phoenix)
|
||||||
|
|
||||||
"huaweiImplementation"(libs.ag.coreservice)
|
"huaweiImplementation"(libs.huawei.hms.coreservice)
|
||||||
|
|
||||||
// LeakCanary
|
// LeakCanary
|
||||||
debugImplementation(libs.squareup.leakcanary.android)
|
debugImplementation(libs.squareup.leakcanary.android)
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ viewpager2 = "1.1.0"
|
|||||||
work = "2.10.2"
|
work = "2.10.2"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
ag-coreservice = { module = "com.huawei.hms:ag-coreservice", version.ref = "agCoreservice" }
|
huawei-hms-coreservice = { module = "com.huawei.hms:ag-coreservice", version.ref = "agCoreservice" }
|
||||||
airbnb-epoxy-android = { module = "com.airbnb.android:epoxy", version.ref = "epoxy" }
|
airbnb-epoxy-android = { module = "com.airbnb.android:epoxy", version.ref = "epoxy" }
|
||||||
airbnb-epoxy-processor = { module = "com.airbnb.android:epoxy-processor", version.ref = "epoxy" }
|
airbnb-epoxy-processor = { module = "com.airbnb.android:epoxy-processor", version.ref = "epoxy" }
|
||||||
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity" }
|
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity" }
|
||||||
|
|||||||
@@ -36,7 +36,12 @@ dependencyResolutionManagement {
|
|||||||
includeModule("com.github.topjohnwu.libsu", "core")
|
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")
|
include(":app")
|
||||||
|
|||||||
Reference in New Issue
Block a user