Switch many common tasks defined in buildSrc to lazy creation
also refactor some locally defined tasks to the creation avoidance API
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> {
|
||||
classpath = kotlin.target.compilations["benchmark"].run { runtimeDependencyFiles + output.allOutputs }
|
||||
main = "com.example.ABenchmarkKt"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user