How to exclude java source files in doc task?
问题 I'm using sbt 0.11.2 for a mixed Java/Scala project. I've realized that when I run the doc command from within sbt, it does not only create the scaladocs for the Scala source files in src/main/scala , but also for the Java source files in src/main/java (the sbt wiki claims to create them for src/main/scala only that seems not true). However, this does not look very well. For instance, for a Java class named Foo with static methods there are two entries in the generated scaladoc: a Foo class