Gradle does not find Java source when folder name is 'cvs'

(Tom Murphy) #1

My package is being ignored by java plugin, and I get a message that the java tasks finds NO SOURCE (since this is only folder in the project). I have the project setup in the standard way (with src in src/main/java/com…). If I rename the folder ‘notcvs’ - or seemingly anything else - it works. If I add other packages, they compile, but the one that ends with ‘cvs’ is ignored. Is this some weird throwback to the ancient cvs source code control system?

(James Justinic) #2

Yes, Gradle uses the default excludes from Ant, which includes paths for multiple source control systems, including CVS. The API does not currently provide a way to change this, but there is an open issue #2986, and some work-around hints.