Only consider Java sources when determining if a sourceset has sourcefiles.

Fixes #7.