Until now we have used println
everywhere in the build script to display the messages to the user. If you are coming from a Java background you know a println
statement is not the right way to give information to the user. You need logging. Logging helps the user to classify the categories of messages to show at different levels. These different levels help users to print a correct message based on the situation. For example, when a user wants complete detailed tracking of your software, they can use debug level. Similarly, whenever a user wants very limited useful information while executing a task, they can use quiet or info level. Gradle provides the following different types of logging:
Mastering Gradle
Mastering Gradle
Overview of this book
Table of Contents (17 chapters)
Mastering Gradle
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Gradle
Groovy Essentials for Gradle
Managing Task
Plugin Management
Dependency Management
Working with Gradle
Continuous Integration
Deployment
Building Android Applications with Gradle
Index
Customer Reviews