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
pull/31723/head
Andy Wilkinson 2 years ago
parent b1c9c269c9
commit 2a8f881cc5

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

Loading…
Cancel
Save