From 66f05c56bff79e39bb742316ed5d6b045423eb10 Mon Sep 17 00:00:00 2001 From: Rui Hu Date: Thu, 14 Mar 2024 11:34:25 +0800 Subject: [PATCH] Add skip sleep flag to performance analyze --- build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 841b95c..046b146 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -30,10 +30,11 @@ tasks.test { jvmArgs = listOf("-Dfast=true") } -tasks.register("runPerformanceAnalyze", JavaExec::class.java) +tasks.register("runPerformanceAnalyze") tasks.named("runPerformanceAnalyze") { dependsOn("testClasses") group = "verification" classpath = sourceSets.test.get().runtimeClasspath mainClass.set("com.cleverthis.interview.PerformanceAnalyze") + jvmArgs("-Dfast=true") } \ No newline at end of file