[samples] Switch to the new DSL in some samples

This commit is contained in:
Ilya Matveev
2018-08-29 23:38:23 +07:00
committed by Ilya Matveev
parent b876fdb5bc
commit e491ef45c4
37 changed files with 256 additions and 335 deletions
+2 -2
View File
@@ -34,6 +34,6 @@ Then it continues execution, and waits on future objects encapsulating the
computation results. Afterwards, worker execution termination is requested with the
`requestTermination()` operation.
To build use `./build.sh`.
To build use `./build.sh` or `./gradlew assemble`
To run use `./build/konan/bin/Worker.kexe`
To run use `./build/exe/main/release/workers.kexe`
+3 -3
View File
@@ -1,5 +1,5 @@
apply plugin: 'konan'
apply plugin: 'org.jetbrains.kotlin.platform.native'
konanArtifacts {
program('Workers')
components.main {
outputKinds = [ EXECUTABLE ]
}