andylamax
01/24/2023, 5:44 AMkasi-sdk-react
In previous kotlin versions, just adding binaries.library()
worked.
When I run :kasi-sdk-react:nodeTest
for the first time (after a clean build), it fails with
> Task :kasi-sdk-react:compileDevelopmentLibraryKotlinJs FAILED
e: java.lang.IllegalStateException: Unexpected ir type argument
When I run the same task again, it passes. The flakiness seems to be the same failing task
The most problematic part is when it comes to publishing, I am using #npm-publish and this plugin goes through the task compileProductionLibraryKotlinJs
(Notice the difference between compileDevelopmentLibraryKotlinJs
and compileProductionLibraryKotlinJs
). The later, never succeeds at all. It fails with a similar error as above despite all other tasks (including compileKotlinJs
) succeeding
This whole process worked in kotlin 1.7.20.
I am using gradle 7.5.1
Any hint on how I can publish my sdk???Luc Girardin
01/24/2023, 6:14 AMandylamax
01/24/2023, 6:36 AMBig Chungus
01/24/2023, 8:56 AMandylamax
01/24/2023, 11:05 AMgrep
).
You are life server.
For anyone else reading this, Migrating to Kotlin 1.8.0 was a severe pain for me, Starting from my gradle plugins, to my libraries.