Make more memory available when running checkstyleNohttp

Gradle 7.5 changes how Checkstyle tasks are run to use separate
worker VMs. A side-effect of this is that there isn't always enough
heap space available for the checkstyleNohttp task.

See gh-31753
This commit is contained in:
Andy Wilkinson 2022-07-14 18:33:14 +01:00
parent b1c9c269c9
commit 2a8f881cc5
1 changed files with 4 additions and 0 deletions

View File

@ -38,3 +38,7 @@ allprojects {
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
}
}
tasks.named("checkstyleNohttp").configure {
maxHeapSize = "1g"
}