Ant Zipfileset to gradle conversion. Stuck

gradle-3127

#1

Ant Script

 <war destfile="${dist.dir}/${warname}.war" update="true" >
 <manifest>
 <attribute name="Compiled-By" value="${user.name}" />
 <attribute name="Compiled-On" value="${TODAY}" />
 </manifest>

 <zipfileset dir="src/com/place/microscope" prefix="WEB-INF/classes/com/place/microscope">
 <include name="*.xml" />
 </war>

So basically I have to go to src/com/place/microscope and grab the .xml files and place it into ${warname}.war directory and (into the WEB-INF/classes/com/place/microscope)

What I did

war {
manifest {
    'Compiled-By': 'user.name',
    'Compiled-On': 'TODAY',
}
archiveName 'MANIFEST.MF'

from('src/com/place/microscope')
include '*.xml'
into 'WEB-INF/classes/com/place/microscope'
}
war.manifest.writeTo('dist/warname.war/')

manifest gets written to file but the files did not get transfer/copy over.