test #440
@@ -101,15 +101,8 @@ tasks.withType<KotlinCompile> {
|
|||||||
|
|
||||||
tasks.withType<Test> {
|
tasks.withType<Test> {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
|
maxHeapSize = "4096m"
|
||||||
val springContextCacheMaxSize = (project.findProperty("test.springContextCacheMaxSize") as String?) ?: "1"
|
jvmArgs("-Dfile.encoding=UTF-8")
|
||||||
maxHeapSize = (project.findProperty("testMaxHeap") as String?) ?: "1536m"
|
|
||||||
maxParallelForks = 1
|
|
||||||
|
|
||||||
jvmArgs(
|
|
||||||
"-Dfile.encoding=UTF-8",
|
|
||||||
"-Dspring.test.context.cache.maxSize=$springContextCacheMaxSize"
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.getByName<Jar>("jar") {
|
tasks.getByName<Jar>("jar") {
|
||||||
|
|||||||
Reference in New Issue
Block a user