Skip to content

Commit 675419e

Browse files
bric3claude
andcommitted
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>
1 parent 10e03bd commit 675419e

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,4 @@ protobuf {
3232
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'
35-
}
36-
37-
sourceSets {
38-
test {
39-
java {
40-
srcDir layout.buildDirectory.dir("generated/sources/proto/test/java")
41-
}
42-
}
43-
}
35+
}

0 commit comments

Comments
 (0)