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/12/10 05:49:46 UTC

(kafka) branch trunk updated: KAFKA-18184 Remove the unnecessary project path check from build.gradle (#18102)

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 <la...@gmail.com>
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 <ch...@gmail.com>
---
 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"