build(test): 테스트 JVM 설정을 조정한다

This commit is contained in:
2026-07-15 21:00:43 +09:00
parent 426f4ae76e
commit 29f61d75ee

View File

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