I am building a gradle project which has a javacc parser file (i.e a file with .jj extension) Therefore, to execute this .jj file we need to run 3 commands in the terminal as javacc filename.jj javac *.java java parsername
However, I want to know how to edit the build.gradle, so that whenever the user enters ./gradlew build all the above mentioned commands would be automatically executed.