Mark Vogel
02/25/2023, 12:56 AMCould not determine the dependencies of task ':multiplatform:assembleJsPackage'.
> Cannot query the value of this provider because it has no value available.
I've narrowed it down to npmPublish
, if I remove the plugin the issue goes away (but then I can't do what I need)
It seems to possibly has something to do with the binaries.library()
vs binaries.executable()
.
Is there something I'm obviously doing wrong?
Appreciate the help!Big Chungus
02/25/2023, 9:01 AMBig Chungus
02/25/2023, 10:04 AMMark Vogel
02/25/2023, 7:14 PMbinaries.library()
that seems either unrelated to npmPublish or could be something to do with a combination of maven-publish and npmPublish on the library project.
That error is here: https://pastebin.com/4vKFMLN9
It goes away if I remove my dependency on the other project or if I change to binaries.executable()
(which then presents this issue).
If, however, I change it to binaries.executable()
, then I get the error I posted in my initial message which does go away if I remove npmPublish as a plugin. This may be a non-issue I guess as probably I can't use an executable as a library in JSBig Chungus
02/25/2023, 7:18 PMBig Chungus
02/25/2023, 7:19 PMBig Chungus
02/25/2023, 7:20 PMMark Vogel
02/27/2023, 3:41 PMbinaries.executable()
. If I change it back to binaries.library()
then it works with the exception of the other error I've been unable to solve; that's definitely more complicated.
The version of npmPublish is 3.2.1 (or 3.2.0 which behave the same) and Kotlin 1.8.10 or 1.8.0Mark Vogel
02/27/2023, 3:53 PMcommon
project without npmPublish enabled and attempted to rebuild again and it seems the error persists.
That means the main issue is not caused by npmPublish and the only incompatibility is with the executable which I'm assuming is expected except that it shouldn't prevent building or give a more useful errorBig Chungus
02/27/2023, 4:04 PM