[K/N] Improve performance benchmark build

This unlinks the benchmarksAnalyzer build from being configured automatically
whenever any benchmark build is.

Co-authored-by: Troels Lund <troels@google.com>
This commit is contained in:
Troels Bjerre Lund
2022-10-26 13:02:24 +00:00
committed by Space
parent 6a4e9f1d0f
commit 80b50bcd21
2 changed files with 4 additions and 4 deletions
+3 -2
View File
@@ -99,8 +99,9 @@ subprojects { proj ->
def rootBuildDirectory = projectDir.parentFile def rootBuildDirectory = projectDir.parentFile
task buildAnalyzer { task buildAnalyzer(type: GradleBuild) {
dependsOn gradle.includedBuild("benchmarksAnalyzer").task(":${getAnalyzerTargetName()}Binaries") buildFile = "../tools/benchmarksAnalyzer/build.gradle"
tasks = [":${getAnalyzerTargetName()}Binaries".toString()]
} }
task konanRun { task konanRun {
@@ -19,7 +19,6 @@ if (System.getProperty("os.name") == "Mac OS X") {
} }
} }
includeBuild '../tools/benchmarksAnalyzer'
if (hasProperty("kotlin_dist")) { if (hasProperty("kotlin_dist")) {
include(":endorsedLibraries:kotlinx.cli") include(":endorsedLibraries:kotlinx.cli")
project(":endorsedLibraries:kotlinx.cli").projectDir = file("../endorsedLibraries/kotlinx.cli") project(":endorsedLibraries:kotlinx.cli").projectDir = file("../endorsedLibraries/kotlinx.cli")