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