Fix test project is using deprecated JavaExec.main property
^KT-46019 In Progress
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ kotlin.target.compilations {
|
|||||||
|
|
||||||
val runBenchmark by tasks.registering(JavaExec::class) {
|
val runBenchmark by tasks.registering(JavaExec::class) {
|
||||||
classpath = kotlin.target.compilations["benchmark"].run { runtimeDependencyFiles + output.allOutputs }
|
classpath = kotlin.target.compilations["benchmark"].run { runtimeDependencyFiles + output.allOutputs }
|
||||||
main = "com.example.ABenchmarkKt"
|
mainClass.set("com.example.ABenchmarkKt")
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
Reference in New Issue
Block a user