Skip to main content

Android Dependency Report

The Android Dependency Report workflow step visualizes the whole dependency tree for every configuration available in the project.

Rendering the dependency tree is particularly useful if you’d like to identify which dependencies have been resolved at runtime. It also provides you with information about any dependency conflict resolution that occurred in the process and clearly indicates the selected version. The dependency report always contains declared and transitive dependencies.

Prerequisites

The workflow steps that need to be executed before running the Android Dependency Report workflow step, along with their respective reasons, are listed in the table below.

Prerequisite Workflow StepDescription
Git CloneTo initiate the Android Dependency Report process, the repository that needs to be built must be fetched from the branch. This is achieved as follows: Upon completion of the Git Clone step, it generates the AC_REPOSITORY_DIR variable, which is then used as the input for the Android Dependency Report step.
Screenshot

Input Variables

For each component, specific input variables are required for its operation on your system. The input variables necessary for the Android Dependency Report are as follows:

image2
Variable NameDescriptionStatus
$AC_REPOSITORY_DIRThis variable represents the path of the cloned Git repository. If this step runs after the Git Clone step, the variable will be automatically populated.Required
$AC_MODULEThis variable specifies the project module to be built. This variable can also be set via the build Configuration. In Android Studio, you can locate the available modules for your project. For more information, please refer to this Android document.Required
$AC_DEPENDENCY_CONFIGURATIONSpecifies the configuration to resolve for displaying dependency information. The default value is: implementation.Required
$AC_PROJECT_PATHSpecifies the project path. If your project that needs to be built is not located in the root directory where it was cloned from Git, you should provide the subpath as a relative path. The default value is: ./Optional

Output Variables

The outputs that can result from the operation of this component are listed as follows:

Variable NameDescription
$AC_ANDROID_DEPENDENCY_REPORT_PATHSpecifies the path where the Android dependency report file is stored.
danger

If you wish to review or download the Android Dependencies Report, you can find them directly from Download Artifacts. To do this, please ensure that the Export Build Artifacts step follows the Android Dependency Report workflow step.

Screenshot

To access the source code of this component, please use the following link:

Preview of GitHub - appcircleio/appcircle-dependency-report