Add skip sleep flag to performance analyze

This commit is contained in:
Rui Hu 2024-03-14 11:34:25 +08:00
parent 6782050414
commit 66f05c56bf
1 changed files with 2 additions and 1 deletions

View File

@ -30,10 +30,11 @@ tasks.test {
jvmArgs = listOf("-Dfast=true")
}
tasks.register("runPerformanceAnalyze", JavaExec::class.java)
tasks.register<JavaExec>("runPerformanceAnalyze")
tasks.named<JavaExec>("runPerformanceAnalyze") {
dependsOn("testClasses")
group = "verification"
classpath = sourceSets.test.get().runtimeClasspath
mainClass.set("com.cleverthis.interview.PerformanceAnalyze")
jvmArgs("-Dfast=true")
}