Dejan Stojadinović created KAFKA-14728:
------------------------------------------

             Summary: Remove 'spotlessScalaCheck' task (out of Jenkinsfile)
                 Key: KAFKA-14728
                 URL: https://issues.apache.org/jira/browse/KAFKA-14728
             Project: Kafka
          Issue Type: Improvement
          Components: build
            Reporter: Dejan Stojadinović
            Assignee: Dejan Stojadinović


*Note*: this ticket blocks Gradle major version upgrade (_*7 -->> 8*_): 
KAFKA-14680

*Rationale:*
* build works fine in trunk with Gradle 7.6 and spotless gradle plugin 6.13.0 
for all currently used JDK versions (that is: JDK 8 / JDK 11 / JDK 17)
* however, recent spotless gradle plugin versions (6.14.\+) support only JDK 
11\+ versions: 
https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md#6140---2023-01-26
 
* given a fact that Kafka still needs to support JDK 8 builds (until Kafka 
version 4.0) it is reasonable to simply remove spotless checks out of 
Jenkinsfile (and re-introduce them when the time comes).

For even more details see GitHub discussion here: 
https://github.com/apache/kafka/pull/13205#issuecomment-1431575644

Note: spotless plugin configuration in build.gradle is out of this ticket scope.



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

Reply via email to