Closed louie-wh closed 8 months ago
proto {
srcDir("../")
srcDir("../proto/")
}
srcDir("../")
will cause it to depend on all files in all projects. That is simply broken.
../proto/
is fine though. I suggest you move msg.proto
within that folder. proto/message/msg.proto
. Note that by convention your folder names should match the package names, so I'd suggest the names be proto/hello/msg.proto
and proto/hello/hello.proto
(or change the package names).
Seems like this is resolved. If not, comment, and it can be reopened.
for example I have a proto file at projectRoot/proto/hello.proto. the file content is :
and message dir is at projectRoot/message
build error Reason: Task ':lib_kotlindsl:generateDebugProto' uses this output of task ':lib_kotlindsl:mergeDebugJniLibFolders' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
this is my project git https://github.com/louie-wh/GrpcProto.git