Update multi-platform native build to 0.6 (#1)
parent
05159269f1
commit
a081bba8ff
@ -1,20 +1,22 @@ |
||||
apply plugin: 'konan' |
||||
|
||||
konanArtifacts { |
||||
// TODO: commented out due to a failed assertion in the compiler. |
||||
//library('native') { |
||||
// srcDir 'src/main/kotlin' |
||||
// srcDir project(':common').file('src/main/kotlin') |
||||
// extraOpts '-Xmulti-platform' |
||||
//} |
||||
library('native') { |
||||
enableMultiplatform true |
||||
} |
||||
|
||||
program('native-test') { |
||||
srcDir 'src/main/kotlin' |
||||
srcDir 'src/test/kotlin' |
||||
srcDir project(':common').file('src/test/kotlin') |
||||
srcDir project(':common').file('src/main/kotlin') |
||||
extraOpts '-tr', '-Xmulti-platform' |
||||
commonSourceSet 'test' |
||||
libraries { |
||||
artifact 'native' |
||||
} |
||||
extraOpts '-tr' |
||||
} |
||||
} |
||||
|
||||
dependencies { |
||||
expectedBy project(':common') |
||||
} |
||||
|
||||
task test(dependsOn: run) |
Loading…
Reference in new issue