Tips and best practices

There are a few ways to make it easier to deal with multimodule projects, and there are a few things to keep in mind when working with several modules. Being aware of these can save you time and frustration.

Running module tasks from Android Studio

As we saw in Chapter 2, Basic Build Customization, it is possible to run Gradle tasks straight from Android Studio. When you have multiple modules, Android Studio recognizes them, and shows a grouped overview of all available tasks.

Running module tasks from Android Studio

The Gradle tool window makes it easier to run module-specific tasks. There is no option to run a task for all modules at the same time, so if you wish ...

Get Gradle for Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.