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