At the moment, the apply method uses the classpath of the project to find plugins, not the classpath of the script, so this isn't going to work. Could you add a jira issue for this problem?
This jira should cover it already: <http://issues.gradle.org/browse/GRADLE-1517> --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email