build: Run performance tests from root project

This commit is contained in:
Ilya Matveev
2017-08-15 17:40:29 +07:00
committed by ilmat192
parent 266047118e
commit cdd235d53a
3 changed files with 14 additions and 2 deletions
+13
View File
@@ -306,6 +306,19 @@ task bundle(type: (isWindows()) ? Zip : Tar) {
}
}
task performance(type: GradleBuild) {
dependsOn 'dist'
dependsOn ':tools:kotlin-native-gradle-plugin:jar'
dir = 'performance'
tasks = ['build', 'run']
doFirst {
startParameter.projectProperties['konanPluginClasspath'] =
project(':tools:kotlin-native-gradle-plugin').tasks.getByName('jar').archivePath.canonicalPath
}
}
task clean {
doLast {
file('dist').traverse(type: FileType.ANY, excludeNameFilter: "dependencies", maxDepth: 0) {
+1 -1
View File
@@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:+"
classpath files(konanPluginClasspath)
}
}
-1
View File
@@ -1 +0,0 @@
includeBuild '../'