From 6b2270356fcf743ad2872eeaef90de023c607c8b Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Tue, 10 Oct 2023 18:03:25 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=E3=83=86=E3=82=B9=E3=83=88=E5=90=8C?= =?UTF-8?q?=E6=99=82=E5=AE=9F=E8=A1=8C=E6=95=B0=E3=81=AE=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 5f34851d..85b46c10 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import org.openapitools.generator.gradle.plugin.tasks.GenerateTask -import kotlin.math.min +import kotlin.math.max val ktor_version: String by project val kotlin_version: String by project @@ -29,7 +29,7 @@ version = "0.0.1" tasks.withType { useJUnitPlatform() val cpus = Runtime.getRuntime().availableProcessors() - maxParallelForks = min(1, cpus - 1) + maxParallelForks = max(1, cpus - 1) setForkEvery(4) }