CreateStartScripts is a public class and part of the Gradle API. However you
need to import it (import
org.gradle.api.tasks.application.CreateStartScripts). Otherwise the Groovy
compiler will think that "CreateStartScripts" refers to a property (rather
than a class) which then leads to a runtime error.

I'm not sure why this package isn't imported by default (like so many
others). It might be an oversight.

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Override-startScripts-in-Application-Plugin-tp5140284p5140346.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to