Fix platform lib build on TeamCity
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user