Skip to content

Instantly share code, notes, and snippets.

@emedinaa
Created June 24, 2020 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emedinaa/c8e015bffe94d5cc98dc54dc6d545bec to your computer and use it in GitHub Desktop.
Save emedinaa/c8e015bffe94d5cc98dc54dc6d545bec to your computer and use it in GitHub Desktop.
./gradlew tasks
edmedina@BLX-PE-edmedina-2 AppDemo % ./gradlew tasks
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
> Task :tasks
------------------------------------------------------------
Tasks runnable from root project
------------------------------------------------------------
Android tasks
-------------
androidDependencies - Displays the Android dependencies of the project.
signingReport - Displays the signing info for the base and test modules
sourceSets - Prints out all the source sets defined in this project.
Build tasks
-----------
assemble - Assemble main outputs for all the variants.
assembleAndroidTest - Assembles all the Test applications.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
bundle - Assemble bundles for all the variants.
clean - Deletes the build directory.
cleanBuildCache - Deletes the build cache directory.
compileDebugAndroidTestSources
compileDebugSources
compileDebugUnitTestSources
compileReleaseSources
compileReleaseUnitTestSources
Build Setup tasks
-----------------
init - Initializes a new Gradle build.
wrapper - Generates Gradle wrapper files.
Cleanup tasks
-------------
lintFix - Runs lint on all variants and applies any safe suggestions to the source code.
Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in root project 'AppDemo'.
components - Displays the components produced by root project 'AppDemo'. [incubating]
dependencies - Displays all dependencies declared in root project 'AppDemo'.
dependencyInsight - Displays the insight into a specific dependency in root project 'AppDemo'.
dependentComponents - Displays the dependent components of components in root project 'AppDemo'. [incubating]
help - Displays a help message.
model - Displays the configuration model of root project 'AppDemo'. [incubating]
outgoingVariants - Displays the outgoing variants of root project 'AppDemo'.
projects - Displays the sub-projects of root project 'AppDemo'.
properties - Displays the properties of root project 'AppDemo'.
tasks - Displays the tasks runnable from root project 'AppDemo' (some of the displayed tasks may belong to subprojects).
Install tasks
-------------
installDebug - Installs the Debug build.
installDebugAndroidTest - Installs the android (on device) tests for the Debug build.
uninstallAll - Uninstall all applications.
uninstallDebug - Uninstalls the Debug build.
uninstallDebugAndroidTest - Uninstalls the android (on device) tests for the Debug build.
uninstallRelease - Uninstalls the Release build.
Verification tasks
------------------
check - Runs all checks.
connectedAndroidTest - Installs and runs instrumentation tests for all flavors on connected devices.
connectedCheck - Runs all device checks on currently connected devices.
connectedDebugAndroidTest - Installs and runs the tests for debug on connected devices.
deviceAndroidTest - Installs and runs instrumentation tests using all Device Providers.
deviceCheck - Runs all device checks using Device Providers and Test Servers.
lint - Runs lint on all variants.
lintDebug - Runs lint on the Debug build.
lintRelease - Runs lint on the Release build.
lintVitalRelease - Runs lint on just the fatal issues in the release build.
test - Run unit tests for all variants.
testDebugUnitTest - Run unit tests for the debug build.
testReleaseUnitTest - Run unit tests for the release build.
To see all tasks and more detail, run gradlew tasks --all
To see more detail about a task, run gradlew help --task <task>
BUILD SUCCESSFUL in 5s
1 actionable task: 1 executed
edmedina@BLX-PE-edmedina-2 AppDemo %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment