KAFKA-17195 remove generated code path from test scrope of sourceSets (#16688)

The generated code path added to test scope of sourceSets will make `Gradle` assume there are tests in module, and then it results in failed test task since the module does not define test engine.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Ken Huang 2024-07-25 18:43:46 +08:00 committed by GitHub
parent 437b86cd20
commit ee03c5f98a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1395,7 +1395,7 @@ project(':group-coordinator') {
} }
test { test {
java { java {
srcDirs = ["src/generated/java", "src/test/java"] srcDirs = ["src/test/java"]
} }
} }
} }
@ -1450,7 +1450,7 @@ project(':transaction-coordinator') {
} }
test { test {
java { java {
srcDirs = ["src/generated/java", "src/test/java"] srcDirs = ["src/test/java"]
} }
} }
} }