Samples: Don't call MPPTools from 'kotlin {}' block. #2277 (#2280)

This commit is contained in:
Dmitriy Dolovov
2018-10-30 15:03:53 +07:00
committed by GitHub
parent f5280940ae
commit 4f0633412d
17 changed files with 56 additions and 47 deletions
+3 -5
View File
@@ -20,12 +20,10 @@ task cleanLocalRepo(type: Delete) {
delete localRepo
}
kotlin {
presets {
// Determine host preset.
MPPTools.defaultHostPreset(project, [macosX64, linuxX64])
}
// Determine host preset.
def hostPreset = MPPTools.defaultHostPreset(project, [kotlin.presets.macosX64, kotlin.presets.linuxX64])
kotlin {
targets {
fromPreset(hostPreset, 'libcurl') {
compilations.main.cinterops {