[build] workaround over bcabbcf3e1
This commit is contained in:
committed by
Vasily Levchenko
parent
f056b3cd0a
commit
be6722d44a
@@ -16,19 +16,19 @@ def rootBuildDirectory = rootProject.projectDir
|
|||||||
|
|
||||||
task konanRun {
|
task konanRun {
|
||||||
subprojects.each {
|
subprojects.each {
|
||||||
dependsOn it.getTasksByName('konanRun', true)[0]
|
dependsOn "${it.path}:konanRun"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task jvmRun {
|
task jvmRun {
|
||||||
subprojects.each {
|
subprojects.each {
|
||||||
dependsOn it.getTasksByName('jvmRun', true)[0]
|
dependsOn "${it.path}:jvmRun"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task clean {
|
task clean {
|
||||||
subprojects.each {
|
subprojects.each {
|
||||||
dependsOn it.getTasksByName('clean', true)[0]
|
dependsOn "${it.path}:clean"
|
||||||
}
|
}
|
||||||
doLast {
|
doLast {
|
||||||
delete "${buildDir.absolutePath}"
|
delete "${buildDir.absolutePath}"
|
||||||
@@ -187,8 +187,10 @@ task mergeJvmReports {
|
|||||||
}
|
}
|
||||||
|
|
||||||
subprojects.each {
|
subprojects.each {
|
||||||
it.getTasksByName('jvmJsonReport', true)[0].finalizedBy mergeJvmReports
|
it.afterEvaluate {
|
||||||
it.getTasksByName('konanJsonReport', true)[0].finalizedBy mergeNativeReports
|
it.jvmJsonReport.finalizedBy mergeJvmReports
|
||||||
|
it.konanJsonReport.finalizedBy mergeNativeReports
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task teamCityStat(type:Exec) {
|
task teamCityStat(type:Exec) {
|
||||||
|
|||||||
+15
-13
@@ -31,19 +31,21 @@ include ':backend.native:tests'
|
|||||||
include ':backend.native:debugger-tests'
|
include ':backend.native:debugger-tests'
|
||||||
include ':utilities'
|
include ':utilities'
|
||||||
|
|
||||||
include ':performance'
|
if (hasProperty("konan.home") || hasProperty("org.jetbrains.kotlin.native.home")) {
|
||||||
include ':performance:ring'
|
include ':performance'
|
||||||
include ':performance:cinterop'
|
include ':performance:ring'
|
||||||
include ':performance:helloworld'
|
include ':performance:cinterop'
|
||||||
include ':performance:numerical'
|
include ':performance:helloworld'
|
||||||
include ':performance:videoplayer'
|
include ':performance:numerical'
|
||||||
include ':performance:framework'
|
include ':performance:videoplayer'
|
||||||
if (System.getProperty("os.name") == "Mac OS X") {
|
include ':performance:framework'
|
||||||
include ':performance:objcinterop'
|
if (System.getProperty("os.name") == "Mac OS X") {
|
||||||
include ':performance:swiftinterop'
|
include ':performance:objcinterop'
|
||||||
if (hasProperty("runExcludedBenchmarks")) {
|
include ':performance:swiftinterop'
|
||||||
include ':performance:KotlinVsSwift'
|
if (hasProperty("runExcludedBenchmarks")) {
|
||||||
include ':performance:KotlinVsSwift:ring'
|
include ':performance:KotlinVsSwift'
|
||||||
|
include ':performance:KotlinVsSwift:ring'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user