I have an Android Studio project which has 3 modules in it. A, B, C.
A depends on C and B depends on C.
I'm trying to speed up build times, and i realised that every time i execute assembleRelease/assembeDebug task it builds ALL modules.
Every time i build module A should only build A and C, because B has no dependency in that task, right?
How can i avoid module B to build every time i build module A?

Module A dependencies:

```
dependencies {
    compile project(path: ':c', configuration: 'release')
    provided files('libs/some-lib.jar')
}

```

Module B dependencies:

```
dependencies {
    compile project(path: ':c', configuration: 'debug')
}

```

Module C dependencies:

```
dependencies {
    compile files('libs/other-lib.jar')
}

```