0

I'm trying to setup instant runt for my project. Unfortunately my predecessors decided to hook some actions to preBuild (downloading configuration data to be more precise). The actions provide some data to BuildConfig. This is being run now every time I try to use the Instant Run feature and makes it ~1,5min long.

My question is: Is there a way to hook a task only to the dry run and do not run it for Instant Run?

First run:

  1. downloadingTask
  2. prebuild and stuff

Instant run:

  1. prebuild and stuff
Marcin Kunert
  • 5,596
  • 5
  • 26
  • 52

0 Answers0