You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ja...@apache.org on 2023/03/06 16:42:19 UTC
[iceberg] branch master updated: Build: Fix flaky checkstyle issue (#7024)
This is an automated email from the ASF dual-hosted git repository.
jackye pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 06df1702f8 Build: Fix flaky checkstyle issue (#7024)
06df1702f8 is described below
commit 06df1702f8bcf0f1e1908dbd845085ad1ba92bde
Author: Ajantha Bhat <aj...@gmail.com>
AuthorDate: Mon Mar 6 22:12:12 2023 +0530
Build: Fix flaky checkstyle issue (#7024)
---
build.gradle | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/build.gradle b/build.gradle
index 73cadede7c..0506825b3b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -32,6 +32,10 @@ buildscript {
// in an old version of the errorprone, which doesn't work w/ Gradle 8, so bump errorpone as
// well.
classpath "net.ltgt.gradle:gradle-errorprone-plugin:3.0.1"
+ // com.palantir.baseline:gradle-baseline-java:4.42.0 (the last version supporting Java 8) pulls
+ // in an old version of the checkstyle(9.1), which has this OutOfMemory bug https://github.com/checkstyle/checkstyle/issues/10934
+ // So, bump checkstyle to the latest java 8 supported version(9.3) which contains the fix.
+ classpath "com.puppycrawl.tools:checkstyle:9.3"
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.13.0'
classpath 'gradle.plugin.org.inferred:gradle-processors:3.7.0'