Fix test project is using deprecated JavaExec.main property

^KT-46019 In Progress
This commit is contained in:
Yahor Berdnikau
2022-06-27 18:47:50 +02:00
committed by Space
parent e902ae7c09
commit 23e16dfc5d
@@ -42,7 +42,7 @@ kotlin.target.compilations {
val runBenchmark by tasks.registering(JavaExec::class) {
classpath = kotlin.target.compilations["benchmark"].run { runtimeDependencyFiles + output.allOutputs }
main = "com.example.ABenchmarkKt"
mainClass.set("com.example.ABenchmarkKt")
}
publishing {