Ant JWSC tag to Gradle

Ant Script

<jwsc  
    	srcdir="src"      
    	destdir="dist"
    	debug="true"
    	classpathref="classpath">
    	<module name="${warname}">
    		<jws file="com/company/telescope/Telescope.java" type="JAXWS" />
    		<descriptor file="WebContent/WEB-INF/web.xml" />
    		<descriptor file="WebContent/WEB-INF/weblogic.xml" />
    	</module>
     </jwsc>

Gradle

ant.jwsc(destDir: project.'dist') {
	src(path: project.'src.dir')
	classpath(refid: 'classpath')
	module(name: 'warname')
		jws(file: 'com.com/company/telescope/Telescope.java', type: 'JAXWS')
		descriptor(file: 'WebContent/WEB-INF/web.xml')
	descriptor(file: 'WebContent/WEB-INF/weblogic.xml')
}