Added the possibility to deny execution of a task if the version of Gradle is not appropriate for a particular task.
Added Gradle version condition for run/debug single test method (There is no 1.10-rc-2 yet but it does not work with the latest: 1.10-rc-1).