Moves template build.gradle to separate file