xtravar
xtravar

Reputation: 1351

Android Studio - How to stop all modules from building everything?

I have a main project with many module dependencies. This project has many build variants. Some of the modules have tests, too.

The problem is that it is executing the tasks for everything, rather than on the command line where I can select one thing with gradle.

How do I make just one task build in Android Studio for this project? It's especially problematic for fresh checkouts or clean builds.

Upvotes: 2

Views: 1041

Answers (1)

Eugen Pechanec
Eugen Pechanec

Reputation: 38243

There's Gradle pane in Android Studio which (after syncing with Gradle) allows you to ad hoc execute individual tasks.

Gradle tab

Upvotes: 4

Related Questions