I am trying to add a couple buildCommands to the .project file by with my own Plugin class:
class NewPlugin implements Plugin<Project> {
def void apply(Project project) {
project.eclipseProject.buildCommands = [new
BuildCommand('com.example.new.BuildCommand')]
}
}
I am getting a SAXParseException: Premature end of file.
I imagine either I am doing something wrong or I have run into a bug.
Thanks for any help,
Jas
