Browse Source

Allocate more memory to Checkstyle tasks

pull/29282/head
Sam Brannen 3 years ago
parent
commit
7ad65b8dff
  1. 8
      build.gradle

8
build.gradle

@ -93,6 +93,14 @@ configure([rootProject] + javaProjects) { project -> @@ -93,6 +93,14 @@ configure([rootProject] + javaProjects) { project ->
configDirectory.set(rootProject.file("src/checkstyle"))
}
tasks.named("checkstyleMain").configure {
maxHeapSize = "1g"
}
tasks.named("checkstyleTest").configure {
maxHeapSize = "1g"
}
dependencies {
dependencyManagement(enforcedPlatform(dependencies.project(path: ":framework-platform")))
testImplementation("org.junit.jupiter:junit-jupiter-api")

Loading…
Cancel
Save