Convert ant tag to Gradle

How do I convert this line to Gradle?

<ant inheritAll="false" useNativeBasedir="true" dir="common"/>

Please anyone? I need help urgently…