How it actually works?
I’ve specified includeEmptyDirs = false and there are a lot of empty directories under my classes. So here is the snippet:
war {
includeEmptyDirs = false
archiveName = ‘popi.war’
from(project(’:utils’).file(‘working/src/tomcat-files’)) {
exclude(‘taglib’)
}
from(‘working/src/tomcat-files/’) {
exclude(‘conf’)
} }