Files
kotlin-fork/common/build.gradle
T
2017-01-24 02:23:08 +04:00

20 lines
380 B
Groovy

import org.jetbrains.kotlin.CompileCppToBitcode
// TODO: consider using some Gradle plugins to build and test
targetList.each { targetName ->
task ("${targetName}Hash", type: CompileCppToBitcode) {
name 'hash'
target targetName
compilerArgs targetArgs[targetName]
}
}
task build {
dependsOn hostHash
}
task clean << {
delete buildDir
}