Browse Source

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 3 years ago
parent
commit
2a8f881cc5
  1. 4
      build.gradle

4
build.gradle

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

Loading…
Cancel
Save