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:
parent
b1c9c269c9
commit
2a8f881cc5
|
@ -38,3 +38,7 @@ allprojects {
|
|||
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named("checkstyleNohttp").configure {
|
||||
maxHeapSize = "1g"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue