Book Image

Mastering Gradle

Book Image

Mastering Gradle

Overview of this book

Table of Contents (17 chapters)
Mastering Gradle
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. Building Android Applications with Gradle

With an increasing number of smartphone users in recent years, mobile application development has become one of the major areas to focus on other than big data and Cloud computing. Most of the companies are coming up with mobile apps for their products such as games, social networking, e-commerce, and so on. And this trend is surely going to increase in next few years. So, in the last chapter, we will cover the topic related to mobile technology.

In this chapter, we will discuss how to create a basic Android application with Android Studio as IDE and how to build the application with Gradle. We already know that the Gradle philosophy is based on conventions rather than configurations, and it is much easier to write a build automation infrastructure with Gradle in comparison to other build tools available in the market. This is one of the reasons why Gradle is the official build tool for Android. You just write few lines of code in the...