File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,9 +34,10 @@ task protoLint {
3434 group = " verification"
3535 description = " Validate Protobuf Enums using buf generated JSON AST. Enforces 'UNKNOWN_' prefix for index 0 to ensure JSON serialization backward compatibility."
3636
37- // Explicitly depend on extractIncludeProto to ensure external protos
38- // are available in build/extracted-include-protos/main before buf runs.
39- dependsOn ' extractIncludeProto'
37+ // Explicitly depend on:
38+ // 1. extractIncludeProto: ensure external protos are available in build/extracted-include-protos/main.
39+ // 2. generateProto: fix Gradle implicit dependency warning due to output directory overlap.
40+ dependsOn ' extractIncludeProto' , ' generateProto'
4041
4142 // Incremental build support: Only run if proto files or the script itself changes
4243 inputs. dir(' src/main/protos' )
You can’t perform that action at this time.
0 commit comments