I have the following task definition:
task testingJar(type: Jar, dependsOn: compileTestJava) {
from sourceSets.test.output
include '**/org/hibernate/testing/**'
classifier = 'testing'
}
After running this task, the generate jar file contains all files from sourceSets.test.output whether they matched the include pattern or not.
How can I make the Jar task include only files from the org.hibernate.testing package?