Chapter 5. Managing Multimodule Builds
Android Studio allows you to create modules for not just apps and libraries, but also for Android Wear, Android TV, Google App Engine, and more. All of these modules can be used together in a single project. For example, you might want to create an app that uses Google Cloud Endpoints for the backend and includes integration with Android Wear. In that case, you could have a project with three different modules: one for the app, one for the backend, and one for the Android Wear integration. Knowing how multimodule projects are structured and built can speed up your development cycle significantly.
Note
The documentation for Gradle and the Gradle Android plugin both use the term multiproject builds. In Android Studio, however, there is a distinction between a module and a project. A module can be an Android app or a Google App Engine backend, for example. A project, on the other hand, is a collection of modules. In this book, we use the terms...