It may be helpful to use filePattern().all() selector for actually all messages, except smth specific, e.g. messages that have test in their Protobuf file name:
modelCompiler {
generateInterfaces {
mark filePattern().all().exclude(filePattern.regex(".*test.*")), "my.CustomInterface"
}
}
It may be helpful to use
filePattern().all()selector for actually all messages, except smth specific, e.g. messages that havetestin their Protobuf file name: