Exclude java files from source dependencies