compileFlex always runs

Craig Kelley's Avatar

Craig Kelley

05 Dec, 2012 06:05 PM

I'm really liking gradlefx; but I have a performance question. I have a task that depends on the 'build' task, which calls the compileFlex task at some point. This task always runs, regardless the file modification times of the src/ directory, which makes every build take about 5 minutes, even if there were no source file changes. Is this by design, or am I doing something wrong? Do I need to explicitly set the compileFlex.inputs/outputs?

Thanks -Craig

  1. Support Staff 1 Posted by Yennick Trevels on 05 Dec, 2012 07:43 PM

    Yennick Trevels's Avatar

    This certainly isn't by design and is probably a bug. It should only recompile your project when something has been changed in the source directory (like standard Gradle behaviour). I've created an issue for this in our issuetracker: https://github.com/GradleFx/GradleFx/issues/69

  2. Support Staff 2 Posted by Yennick Trevels on 05 Dec, 2012 08:31 PM

    Yennick Trevels's Avatar

    Hi Craig,

    I fixed this issue in our development branch. You can find the snapshot build in our snapshot repository at https://oss.sonatype.org/content/repositories/snapshots as version 0.6.2-SNAPSHOT. (note that this is a snapshot version and can become unstable at any moment)

    enjoy :)

  3. 3 Posted by Craig Kelley on 05 Dec, 2012 08:36 PM

    Craig Kelley's Avatar

    Awesome, I'll give it a spin!

  4. Support Staff 4 Posted by Yennick Trevels on 07 Jan, 2013 01:18 PM

    Yennick Trevels's Avatar

    GradleFx 0.6.2 has been officially released now, so you don't have to use the snapshot version anymore.

  5. Yennick Trevels closed this discussion on 07 Jan, 2013 01:18 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac