xuanzhang gong created KAFKA-16896:
--------------------------------------

             Summary: upgrade spotless version and apply 
                 Key: KAFKA-16896
                 URL: https://issues.apache.org/jira/browse/KAFKA-16896
             Project: Kafka
          Issue Type: Improvement
          Components: build
    Affects Versions: 3.7.0
            Reporter: xuanzhang gong
            Assignee: xuanzhang gong
             Fix For: 4.0.0


we  import spotless plugin in order to unify Kafka code style.

Spotless version

6.14- support JDK8

6.15.0+ require JDK11 

6.23.3+ support JDK 21 but build error in JDK 8 even though we apply false in 
plugin block.

We couldn't find a suitable way to be compatible with all versions.

So far, here's how we do it: use 6.14.0 version, compatibility JDK8 , skip 
JDK21.

We will upgrade spotless version to the latest when kafka drop support JDK8 and 
drop CI in JDK8

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to