To know which tasks are available on a project, you can run gradlew tasks
, which prints out a list of all the available tasks. In a newly created Android project, this includes Android tasks, build tasks, build setup tasks, help tasks, install tasks, verification tasks and other tasks. If you want to see not only the tasks, but also their dependencies, you can run gradlew tasks --all
. It is possible to do a dry run of tasks, which prints out all the steps that are executed when running a specific task. This dry run will not actually perform any of these steps, so it is a safe way to see what you can expect to happen when running a certain task. You can do a dry run by adding the parameters -m
or --dry-run
.
Gradle for Android
By :
Gradle for Android
By:
Overview of this book
Table of Contents (16 chapters)
Gradle for Android
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Gradle and Android Studio
Basic Build Customization
Managing Dependencies
Creating Build Variants
Managing Multimodule Builds
Running Tests
Creating Tasks and Plugins
Setting Up Continuous Integration
Advanced Build Customization
Index
Customer Reviews