This message was deleted.
# plugin-development
s
This message was deleted.
v
I don't think that will work. But it should work fine with MC publishing, as long as you configure the two publications the plugin creates and not create your own.
a
yeah, it should work but it doesn't 🤷‍♀️ I get weird errors
Copy code
* What went wrong:
A problem occurred configuring project ':modules:dokkatoo-plugin'.
> Failed to notify project evaluation listener.
   > path may not be null or empty string. path='org.gradle.api.internal.tasks.DefaultRealizableTaskCollection_Decorated@3324c1a8'
   > Publication with name 'DokkatooGfmPluginPluginMarkerMaven' not found.
looking into the source code it uses Protobuf code to upload the files, so it's non-standard. And the plugin has so many hacks it would need a total re-write to workaround it.
j
I am publishing multiple plugins to both, Gradle Plugin portal an MavenCentral with no crashes. I have only seen a warning about duplicated artifact or something so which is not affecting at the end. But I am not doing anything special, I followed the Gradle docs for both and that’s it.