Skip to content

Commit 6835121

Browse files
committed
fix(proto): resolve gradle implicit task dependency warning
1 parent 0c78807 commit 6835121

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

protocol/protoLint.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)