27 lines
473 B
Kotlin
27 lines
473 B
Kotlin
/*
|
|
* Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
|
* that can be found in the LICENSE file.
|
|
*/
|
|
|
|
plugins {
|
|
id("compile-to-bitcode")
|
|
}
|
|
|
|
bitcode {
|
|
create("files"){
|
|
dependsOn(":kotlin-native:dependencies:update")
|
|
}
|
|
}
|
|
|
|
val hostName: String by project
|
|
|
|
val build by tasks.registering {
|
|
dependsOn("${hostName}Files")
|
|
}
|
|
|
|
val clean by tasks.registering {
|
|
doFirst {
|
|
delete(buildDir)
|
|
}
|
|
}
|