Task are not registered in gradlew #71
-
I created a sample project to try this out. Although I did the setup the gradle tasks do not seem to be registered and I can't figure out why... As far as I can tell my config should be supported:
Yet when I try to run the tasks they are not registered.
My build file is this:
I also attached an Archive.zip with the project. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
The problem seems to be the plugin does not automatically detect publications from MPP, as stated in the README. |
Beta Was this translation helpful? Give feedback.
-
Can you try with IR js backend? Legacy backend support has been an afterthought for quite a few releases. |
Beta Was this translation helpful? Give feedback.
-
OK, I've finally had a chance to look into your sample project and found the issue. The publications are not generated because your project does not have any JS outputs due to @mihai1voicescu can you please try it out and let me know if I can close this issue. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help! Adding As a side note maybe you should also add a one-time sponsorship option on Github (if it's possible, I don't really know). Apparently, companies hate recurring fees and the sending fee on Paypal is a joke. |
Beta Was this translation helpful? Give feedback.
-
Hmm, I don't think GH supports one-time sponsorships so PayPal was the only option for that I could think of 😆 |
Beta Was this translation helpful? Give feedback.
-
Scratch that. GH Sponsors now support one-off payments and custom ammounts. I've enabled both now. Thanks for bringing this up to my attention. |
Beta Was this translation helpful? Give feedback.
OK, I've finally had a chance to look into your sample project and found the issue. The publications are not generated because your project does not have any JS outputs due to
kotlin.js.generate.executable.default=false
gradle property. Removing that fromgradle.properties
or setting it to true (default value) will unlock JS publications autoconfigured by this plugin. This is expected behaviour for the plugin as it aims to be non-intrusive and only register tasks when it's appropriate to do so.@mihai1voicescu can you please try it out and let me know if I can close this issue.