All Products
Search
Document Center

Remove specific mPaaS library

Last Updated: Mar 10, 2021

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:

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