[samples] Fix new DSL in the tetris sample

This commit is contained in:
Ilya Matveev
2018-08-30 12:33:50 +07:00
committed by Ilya Matveev
parent c4306a7462
commit 15a17f1c92
+5 -5
View File
@@ -53,7 +53,7 @@ components.main {
assemble {
doLast {
components.withType(KotlinNativeExecutable.class).all { binary ->
components.main.binaries.get().each { binary ->
copy {
from 'src/main/resources'
into binary.runtimeFile.asFile.get().parentFile
@@ -76,10 +76,10 @@ task windowsResources (type: Exec) {
}
project.tasks.matching {
name == 'compileDebugMingw_x64KotlinNative' ||
name == 'compileReleaseMingw_x64KotlinNative'
it.name == 'compileDebugMingw_x64KotlinNative' ||
it.name == 'compileReleaseMingw_x64KotlinNative'
}.all {
dependsOn 'windowsResources'
inputs.file resFile
it.dependsOn 'windowsResources'
it.inputs.file resFile
}