You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2024/07/25 10:43:53 UTC
(kafka) branch trunk updated: KAFKA-17195 remove generated code path from test scrope of sourceSets (#16688)
This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new ee03c5f98a6 KAFKA-17195 remove generated code path from test scrope of sourceSets (#16688)
ee03c5f98a6 is described below
commit ee03c5f98a622271f35f7d00776f9e8d3c8e0d39
Author: Ken Huang <s7...@gmail.com>
AuthorDate: Thu Jul 25 18:43:46 2024 +0800
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 <ch...@gmail.com>
---
build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index 838179567d7..79f61289bbd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1395,7 +1395,7 @@ project(':group-coordinator') {
}
test {
java {
- srcDirs = ["src/generated/java", "src/test/java"]
+ srcDirs = ["src/test/java"]
}
}
}
@@ -1450,7 +1450,7 @@ project(':transaction-coordinator') {
}
test {
java {
- srcDirs = ["src/generated/java", "src/test/java"]
+ srcDirs = ["src/test/java"]
}
}
}