0
Build.xml을 완전히 제거하여 Groovy 스크립트에 완전히 개봉하려고하는 build.xml (Ant 프로젝트에서 사용되는)을 Groovy 스크립트로 변환하려고합니다.build.xml을 build.groovy로 변환
내가 얻으려고 노력하는 것은 Build.xml ---> Build.groovy입니다.
이렇게하는 동안 다음 쿼리가 있습니다.
1) 내 그루비 스크립트에서 함수에 macrodef를 번역하는 방법 나는 sequentional 어떻게 끝내 기능에 전반적으로 macrodef을 변환하는 groovy.util.AntBuilder.sequential을 사용하여 달성 할 수 있습니다 알고
<macrodef name="build.record">
<attribute name="log.file"/>
<attribute name="action"/>
<sequential>
<echo message="starting build4.record with file name @{log.file} and action @{action}" />
<record name="@{log.file}" action="@{action}" loglevel="verbose" />
</sequential>
</macrodef>
내 대본에?
2) 내 Groovy 스크립트에서 Ant JavaDoc을 만드는 방법은 무엇입니까?
그냥 확인하기 위해 위처럼 AntBuilder 사용하여 그루비에 쓸 수 gradle 빌드 도구를 체크 아웃, 당신은 Gradle을 알고있다 Groovy를 사용하는 빌드 도구? –