Skip to content

Gradle Task

Run any Gradle task — tests, custom builds, code generation, or anything else your build script supports.

ParameterTypeRequiredDefaultDescription
projectDirstringYesAbsolute path to the Android project root
taskstringYesGradle task to run (e.g., test, lint, :app:connectedAndroidTest)
argsstring[]NoAdditional Gradle arguments (e.g., ['--info', '-Pfoo=bar'])

Run tests for my Android project

Run the assembleRelease Gradle task

Run the bundleRelease task with —info argument