def protoIncludeDir = "build/extracted-include-protos/main" tasks.register("includeDirBugFix") { doFirst { mkdir(protoIncludeDir) } }