[ https://issues.apache.org/jira/browse/KAFKA-16896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-16896. ------------------------------------ Resolution: Fixed > upgrade spotless version after we drop JDK8 > ------------------------------------------- > > Key: KAFKA-16896 > URL: https://issues.apache.org/jira/browse/KAFKA-16896 > Project: Kafka > Issue Type: Sub-task > Components: build > Affects Versions: 3.7.0 > Reporter: xuanzhang gong > Assignee: 黃竣陽 > Priority: Major > 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)