The Step runs the specified Gradle task and copies the generated APK and AAB files into
the Bitrise Deploy Directory ($BITRISE_DEPLOY_DIR). It is capable of doing everything that you can do with Gradle on your own machine.
To use this Step, you need at least two things:
The Step can run the specified task with the Gradle Wrapper. For the basic configuration:
gradlew file path: this is the path where the Gradle Wrapper lives in your project. The path should be relative to the project's root.To configure exporting an APK or AAB file generated by the Step:
If the Step keeps failing because it can't download the dependencies, check the repositories section in your build.gradle file.
It's possible that one or more of the services listed there are down so we Bitrise can't connect to them to download the dependencies you need.
If you use a build.gradle file and get the error Issue with input: GradleFile does not exist, check the Optional path to the gradle build file to use input.
Remember, the path must be relative to the root of the repository.