Tuesday 17 July 2018

Long gradle build time - Android

I have a project which is a multi-module one. I uses kotlin + dagger 2 + databindingv2. Uses the latest 3.2 android studio.

But whenever I execute incremental build by changing something in one module, some other module's (no dependency with changed module) databinding class which are generated getting changes thereby invoking kapt on that module. Thereby increasing build time.

Input property 'annotationProcessorOptionProviders$kotlin_gradle_plugin.$0.$0.buildDir' 
file /build/intermediates/data-binding/debug/compiler/dependent-lib-artifacts/
***-setter_store.bin has changed.

Has anyone faced this issue?

Is there any fix for that?



from Long gradle build time - Android

No comments:

Post a Comment