All Products
Search
Document Center

Mobile Platform as a Service:Remove specific mPaaS library

Last Updated:Feb 10, 2022

In build.gradle, the native gradle syntax - exclude is used to remove the specified mPaaS library. As there may be cases where the same library is referenced by multiple mPaaS components, we recommend that you apply the removal operation globally. For example, when you remove the built-in Amap SDK from the mPaaS SDK, refer to the following method:

configurations {
    all*.exclude group:'com.mpaas.group.amap', module: 'amap-build'
    all*.exclude group:'com.alipay.android.phone.thirdparty', module: 'amap3dmap-build'
}