
android-developer-preview - issue #3170
Data binding plugin greatly increases build time
Using:
com.android.databinding:dataBinder:1.0-rc1 com.android.tools.build:gradle:1.4.0-beta1
Just adding
apply plugin: 'com.android.databinding'
increases the build time on a non-clean build by a factor of at least 4
easily reproducible in our project adding the plugin makes the build time go from ~1.5 minutes to ~6 minutes with no other changes.
We also use: com.neenbedankt.gradle.plugins:android-apt:1.7 and the latest version of transfuse
Comment #1
Posted on Sep 12, 2015 by Quick HorseA bit more detail can be found here: http://stackoverflow.com/questions/32543518/missing-time-in-android-gradle-build-profile
Comment #2
Posted on Sep 15, 2015 by Helpful Giraffe(No comment was entered for this change.)
Comment #3
Posted on Sep 15, 2015 by Helpful GiraffeThank you for this suggestion. We will pass this along to the development team and provide updates as they are available.
Comment #4
Posted on Sep 18, 2015 by Quick HorseIt seems this was due to some interaction with gradle-retrolambda. Updating to 3.2.3-SNAPSHOT fixed the issue and I no longer experience the "missing" time.
Comment #5
Posted on Sep 21, 2015 by Helpful GiraffeThank you for updating the issue.
Status: Invalid
Labels:
Type-Defect
Release-M
Defect-22516688