Removing the `gradle.plugin.` prefix from a published plugin

Hi Gradle Team,

I have recently published our Kotlin plugins to the Plugin Portal.
However, when they are applied with the plugins DSL, the resolved dependency ID has the gradle.plugin. prefix in the group name (the full group name is therefore
Some of the logic (e.g. this) in our plugins depends on the group names, and we’d like to have the group names unchanged.

Could this be fixed from your side without the group name workaround in our logic? I believe, adding the gradle.plugin. prefix is just a uniqueness measure, so if you need to verify the plugins, then please do so.

And could you please republish the existing org.jetbrains.kotlin.* plugins with the prefix removed from their group names?

The list of the plugins affected by this issue is:

  • org.jetbrains.kotlin.jvm
  • org.jetbrains.kotlin.kapt
  • org.jetbrains.kotlin.plugin.allopen
  • org.jetbrains.kotlin.plugin.noarg
  • org.jetbrains.kotlin.plugin.spring
  • org.jetbrains.kotlin.plugin.jpa

After this has been fixed (if possible), should we change something in our publishing config to publish subsequent releases with the correct group name?


Probably @craigatk could kindly help us here. Sorry if not the right person to mention.

I’ll look into this and see if we can come up with options to fix this issue for you.

1 Like

Can also others benefit from the fix? :slight_smile:

I found the answer:

Edit 1
But it does not work :frowning: it is still published automatically without a manual approval process.
What do I need to do in addition?

Edit 2
Oh well, it has to differ from project group as it seems, I tried ‘test’ and now I have a pending request.
I would like to have it without prefix since I provide a plugin for settings.gradle where it is currently not possible to use the DSL

Edit 3
Nope, it works fine, misconfiguration on my side. A lot of noise, a wrong pending request, and well, I hope the comment still helps someone else.

1 Like