Fix platform lib build on TeamCity

This commit is contained in:
Ilya Matveev
2017-10-25 12:43:43 +03:00
committed by ilmat192
parent 8ae1a156b7
commit f8b6519864
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ targetList.each { target ->
dir project(':klib').projectDir
startParameter.projectProperties = [
'konan.jvmArgs' : jvmArgs,
'kotlin_version' : kotlin_version,
'konanVersion' : konanVersion,
'name' : defFile.name,
'defFile' : defFile.file.absolutePath,
'konan.home' : distDir,
+4 -3
View File
@@ -1,10 +1,11 @@
apply plugin: 'konan'
buildscript {
def konanVersion = gradle.startParameter.projectProperties['konanVersion']
dependencies {
classpath files(project.file('../tools/kotlin-native-gradle-plugin/build/libs').listFiles().findAll {
it.name.endsWith('.jar')
}.collect().first().absolutePath)
classpath files("../tools/kotlin-native-gradle-plugin/build/libs/kotlin-native-gradle-plugin-${konanVersion}.jar")
}
}