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 633cab91c1d KAFKA-18184 Remove the unnecessary project path check from
build.gradle (#18102)
633cab91c1d is described below
commit 633cab91c1d5ca80763103fa38fb778dcf545709
Author: Nick Guo <[email protected]>
AuthorDate: Tue Dec 10 13:49:39 2024 +0800
KAFKA-18184 Remove the unnecessary project path check from build.gradle
(#18102)
Reviewers: Chia-Ping Tsai <[email protected]>
---
build.gradle | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index ff68ef022c6..8db47dd73b0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -129,8 +129,7 @@ ext {
if (name in ["compileTestJava", "compileTestScala"]) {
options.compilerArgs << "-parameters"
} else if (name in ["compileJava", "compileScala"]) {
- if (!project.path.startsWith(":connect") &&
!project.path.startsWith(":storage"))
- options.compilerArgs << "-Xlint:-rawtypes"
+ options.compilerArgs << "-Xlint:-rawtypes"
options.compilerArgs << "-Xlint:all"
options.compilerArgs << "-Xlint:-serial"
options.compilerArgs << "-Xlint:-try"