Hello,
I'm wondering if there's a way to determine which project was targeted
for building when Gradle was invoked. I'm currently doing this when
the task graph is ready, but I'd like to be able to do it earlier,
preferably during evaluation. I'd like to put this in the
build.gradle for my root project of a multi-project build.
Here's how I'm doing it now:
def topProject
gradle.taskGraph.whenReady { graph ->
topProject = graph.allTasks.last().project
}
Any suggestions?
Cheers!
J
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email