All Products
Search
Document Center

Mobile Platform as a Service:Remove specified mPaaS library

Last Updated:Feb 10, 2022

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:

mpaascomponents {
    excludeDependencies = [
        "com.mpaas.group.amap:amap-build",
        "com.alipay.android.phone.thirdparty:amap3dmap-build"
    ]
}