GradleFx/GradleFx — Issue #16: Documentation: Add a note to folks who want to modify the GradleFx tasks
Author: Taytay
Created: 2012-02-08 12:24:33+00:00
State: open

There are certain GradleFx tasks (like "package") that get added to the project after it is evaluated. Thus, if you are trying to do anything with that task in build.gradle, you HAVE to wrap it in afterEvaluate. It took me a long time to figure out why "gradle tasks" listed that task, but I didn't have access to it in build.gradle! A note like this would have saved me a lot of time. :)