What does this line do

I have a jsf application, my jsf pages were not getting copied to the war so I needed to include sourceSets.main.output.resourcesDir = sourceSets.main.output.classesDir

what does this line do?