Fix platform lib build on TeamCity
This commit is contained in:
+1
-1
@@ -300,7 +300,7 @@ targetList.each { target ->
|
|||||||
dir project(':klib').projectDir
|
dir project(':klib').projectDir
|
||||||
startParameter.projectProperties = [
|
startParameter.projectProperties = [
|
||||||
'konan.jvmArgs' : jvmArgs,
|
'konan.jvmArgs' : jvmArgs,
|
||||||
'kotlin_version' : kotlin_version,
|
'konanVersion' : konanVersion,
|
||||||
'name' : defFile.name,
|
'name' : defFile.name,
|
||||||
'defFile' : defFile.file.absolutePath,
|
'defFile' : defFile.file.absolutePath,
|
||||||
'konan.home' : distDir,
|
'konan.home' : distDir,
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
apply plugin: 'konan'
|
apply plugin: 'konan'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
|
||||||
|
def konanVersion = gradle.startParameter.projectProperties['konanVersion']
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath files(project.file('../tools/kotlin-native-gradle-plugin/build/libs').listFiles().findAll {
|
classpath files("../tools/kotlin-native-gradle-plugin/build/libs/kotlin-native-gradle-plugin-${konanVersion}.jar")
|
||||||
it.name.endsWith('.jar')
|
|
||||||
}.collect().first().absolutePath)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user