I am trying to use gradle to build my grails project artifact and for some reason when I include maven and grails plugin in the build.gradle file, it complains with the below mentioned error. Is there a way to get around it. I tried putting maven first and then grails and the other way around. Nothing seems to work. Also is there any other way I can build the grails artifact using gradle ?
- What went wrong: A problem occurred evaluating root project ‘gravel’. > Cannot add task ‘:clean’ as a task with that name already exists.