aogail/gradle-plugin-protobuf — comment on commit c42b803dbf9d4328daf8ed659e57a545f40364bb
File:  line 0
By aantono:

How is this different in behavior from just adding more directories to the srcDirs from build.gradle (something like: project.tasks['generateProto'].getDefaultSource().srcDir "/some/other/directory/in/addition/to/src/main/proto")?

protoc generates (compiles) all the .proto files that it finds in the -I directories, so there is no such thing as "include a directory but don't use it's content for compilation"