Allocate more memory to Checkstyle tasks
This commit is contained in:
parent
8869ca27b1
commit
7ad65b8dff
|
@ -93,6 +93,14 @@ configure([rootProject] + javaProjects) { project ->
|
||||||
configDirectory.set(rootProject.file("src/checkstyle"))
|
configDirectory.set(rootProject.file("src/checkstyle"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named("checkstyleMain").configure {
|
||||||
|
maxHeapSize = "1g"
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.named("checkstyleTest").configure {
|
||||||
|
maxHeapSize = "1g"
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
dependencyManagement(enforcedPlatform(dependencies.project(path: ":framework-platform")))
|
dependencyManagement(enforcedPlatform(dependencies.project(path: ":framework-platform")))
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter-api")
|
testImplementation("org.junit.jupiter:junit-jupiter-api")
|
||||||
|
|
Loading…
Reference in New Issue