Multiple resources/srcDirs with different includes

I have the same problem as @knut-forkalsrud here:

But with the addition that i need different includes per folder.

Something like this:

sourceSets {
	main {
		resources {
			srcDirs [
				fileTree(dir: 'resources'),
				fileTree(dir: 'otherResource', includes: [ '**/*.xml', '**/*.dtd', '**/*.version' ])
			]
		}
	}
}

How can i do this?

Greetings Fred;

I solved it now by moving the other resources to the default resources folder.

But I am still wondering if the original question can be answered.