Hi we have the following source folder structure:
com
--test
----internal
----foo
------internal
----bar
and we want to create an api jar file with the following task:
task jarApi(type: Jar) {
from compileJava
exclude '**/internal/**'
includeEmptyDirs = false
classifier = 'api'
}
Our problem is that the generated jar file includes some internal folders but not all. Am I missing something? I also tried to set the includes and excludes properties and this also doesn’t work.
Thanks in advance.
Guy