I've been banging my head against the wall this morning... see http://forums.gradle.org/gradle/topics/adding_and_configuring_a_custom_plugin_in_a_script_that_gets_included .
Any ideas? This has been driving me nuts. I feel like perhaps there is an event listener I need to wrap when applying the tomcat plugin but have no idea what to do. Thanks, James
