All Products
Search
Document Center

Remove specified mPaaS library

Last Updated: Mar 10, 2021

You can use excludeDependencies in the build.gradle file to remove specific mPaaS libraries. Generally, this node is automatically written to this file when an mPaaS project is being created or migrated. If you do not find the relevant code in the build.gradle file, you can manually add the code.

  • For a project that is inserted in the mPaaS Inside access mode, use the build.gradle file in the main module.
  • For a project that is inserted in the Portal&Bundle access mode, use the build.gradle file in the main module of the Portal project.

For example, you can use the following code to remove the built-in Amap SDK from the mPaaS SDK:

 
  1. mpaascomponents {
  2. excludeDependencies = [
  3. "com.mpaas.group.amap:amap-build",
  4. "com.alipay.android.phone.thirdparty:amap3dmap-build"
  5. ]
  6. }