We have the following ant task. We are unsure what the gradle equivalent would be to capture the output to abc.log.
<property name="abc.log" value="${dist.dir}/compiler.log.log" />
<echo message="Compiling abc. Compile log is in ${abc.log} ..." />
<exec executable="${excelsior.jet.home}/bin/jc"
failonerror="true"
output="${abc.log}" >
<arg line="=project ${dist.dir}/abcs.prj" />
</exec>
Any help would be appreciated!