https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

russhwolf

06/20/2019, 10:57 PM
I’m having trouble updating Multiplatform Settings to 1.3.40. Seems to be an issue with the way I have tests in a separate module, which isn’t agreeing with something in the new JS defaults. Here’s a demo project that reproduces the issue based on the new project template: https://github.com/russhwolf/OneThreeForty. Clone project, run
./gradlew clean build check
, and observe the output
Copy code
Execution failed for task ':kotlinNpmResolve'.
> Cannot add a configuration with name 'OneThreeForty-lib-npm' as a configuration with that name already exists.
Can also check out branch
1.3.31
where I revert back to the previous kotlin version and it builds fine. (I didn’t copy over the JS test configuration so the JS tests don’t run in that branch, but the JS platform code does build and leaves artifacts in the build directory)
l

louiscad

06/20/2019, 11:07 PM
Did you report it on kotl.in/issue? If so, please link it, that'll make following it long term easier.
r

russhwolf

06/20/2019, 11:09 PM
Haven't opened an issue yet but I will if nobody chimes in to point out something obvious that I'm missing.
s

snrostov

06/21/2019, 6:10 AM
j

Jurriaan Mous

06/21/2019, 6:21 AM
@snrostov Thanks for the link!
r

russhwolf

06/21/2019, 1:38 PM
Thanks Sergey!
2 Views