Hi Jesse, On Thu, Apr 1, 2010 at 4:55 PM, Jesse Eichar <[email protected]>wrote:
> Hi, > > I think this is related to a message from Geronimo but I want to verify an > answer. From what I understand there is currently a general framework for > incremental build where there are a set of inputs and a set of outputs and > if the inputs have changed then the task is executed. I gather in the > future the inputs that are different will be accessible so a task can use > those inputs to efficiently execute. > Yes. > > The usecase I am looking at is compilation. If only one source file has > changed then only that file needs to be recompiled, rather than all of them. > Via the future generic incremental build API the compile task can get all the information about which input and output files have changed and can act appropriately. And it won't be a big deal for Gradle to provide this. We have all the data. We just haven't gotten around yet to expose it via an API. > > Am I understanding the situation correctly? > Yes. - Hans -- Hans Dockter Founder, Gradle http://www.gradle.org, http://twitter.com/gradleorg CEO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz > Jesse >
