Book Image

Gradle for Android

By : Kevin Pelgrims
Book Image

Gradle for Android

By: Kevin Pelgrims

Overview of this book

Table of Contents (16 chapters)
Gradle for Android
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 9. Advanced Build Customization

Now that you know how Gradle works, how to create your own tasks and plugins, how to run tests, and how to set up continuous integration, you can almost call yourself a Gradle expert. This chapter contains a few tips and tricks that we have not mentioned in the previous chapters that make it easier to build, develop, and deploy Android projects using Gradle.

In this chapter, we will cover the following topics:

  • Reducing the APK file size

  • Speeding up builds

  • Ignoring Lint

  • Using Ant from Gradle

  • Advanced app deployment

We will start out by looking at how we can reduce the size of the build output and why that is useful.