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:
@@ -38,3 +38,7 @@ allprojects {
|
||||
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named("checkstyleNohttp").configure {
|
||||
maxHeapSize = "1g"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user