Skip to content

Commit 528ed7e

Browse files
committed
Fixed: Increase memory for checkstyleMain to support Gradle 8+
1 parent 2199981 commit 528ed7e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ checkstyle {
268268
// 'checkstyle' tool present in the framework and in the official
269269
// plugins.
270270
tasks.checkstyleMain.maxErrors = 0
271+
// Increase memory for checkstyleMain required for Gradle 8+.
272+
tasks.checkstyleMain.maxHeapSize = '1g'
271273
// Currently there are no errors so we can show new one when they appear
272274
showViolations = true
273275
}

0 commit comments

Comments
 (0)