Force execution of one task before others are even evaluated?

I have a situation where I want to force one ‘preliminary’ task to EXECUTE before others are even evaluated. This task will look at command-line properties and also Exec uname. The properties passed in and the results of uname will set the parameters for the rest of the build. But this doesn’t work because Gradle evaluates all tasks before executing any.

How may I get around this restriction?

Since I’m using a plugin add a project extension class and do the configuration in its constructor.

Would kicking a Gradle sub-build be an option?

Thanks, but see my solution above.