@@ -2,9 +2,12 @@ plugins {
|
||||
id 'kotlin-multiplatform'
|
||||
}
|
||||
|
||||
// Determine host preset.
|
||||
def hostPreset = MPPTools.defaultHostPreset(project)
|
||||
|
||||
kotlin {
|
||||
targets {
|
||||
fromPreset(MPPTools.defaultHostPreset(project), 'workers') {
|
||||
fromPreset(hostPreset, 'workers') {
|
||||
compilations.main.outputKinds 'EXECUTABLE'
|
||||
compilations.main.entryPoint 'sample.workers.main'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user