Allocate more memory to Checkstyle tasks

This commit is contained in:
Sam Brannen 2022-10-05 17:06:12 +02:00
parent 8869ca27b1
commit 7ad65b8dff
1 changed files with 8 additions and 0 deletions

View File

@ -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")