Skip to content

Commit cd95f53

Browse files
authored
Remove redundant manual proto srcDir from protobuf-3.0 instrumentation (#11343)
build(gradle): remove redundant sourceSets block in protobuf-3.0 Plugin 0.10.0 automatically registers generated proto sources into the corresponding source sets. The manual srcDir addition was required for plugin 0.8.18 but is now redundant — keeping it on top of the plugin's own wiring actively breaks source set registration (review comment on #11310). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> type: EOF Co-authored-by: brice.dutheil <brice.dutheil@datadoghq.com>
1 parent 594ddf1 commit cd95f53

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

dd-java-agent/instrumentation/protobuf-3.0/build.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,3 @@ dependencies {
3333
compileOnly group: 'com.google.protobuf', name: 'protobuf-java', version: '3.0.0'
3434
testImplementation group: 'com.google.protobuf', name: 'protobuf-java', version: '3.0.0'
3535
}
36-
37-
sourceSets {
38-
test {
39-
java {
40-
srcDir layout.buildDirectory.dir("generated/sources/proto/test/java")
41-
}
42-
}
43-
}

0 commit comments

Comments
 (0)