InvalidPluginIdException with the plugin id 'com.github.kt3k.ebean.enhance'

Hello gradle team

While I was publishing my plugin using ‘com.gradle.plugin-publish’ plugin, I got the following error and I’m unable to publish my plugin.

Caused by: com.gradle.publish.InvalidPluginIdException: Invalid plugin ID 'com.github.kt3k.ebean.enhance': contains invalid char '3' (only ASCII alphanumeric characters, '.', '_' and '-' characters are valid)
  at com.gradle.publish.PluginId.validate(PluginId.java:31)

The message says alphanumeric characters are valid but also says ‘3’ is invalid. This doesn’t make sense.

The version of ‘com.gradle.plugin-publish’ is ‘0.9.3’.

Hi Yoshiya!

Thanks for reporting this. It looks like a bug in the publishing plugin. We’ll let you know when we’ve got a fixed version available.

Regards

Tom

Hi Tom

Thanks for the quick response! Sounds nice!
I’ll be waiting for the fix :slight_smile:

Best,

Hello Tom,

it seems I’m hitting the same bug:

        at com.gradle.publish.PluginId.validate(PluginId.java:31)```

Best Regards

Hi @mahnkong and @kt3k!

We’ve released version 0.9.4 of the publish-plugin, which should fix the issue.

Please let me know if you have any issues.

Regards

Tom

1 Like

Hi @tomd

I got my plugin published successfully!
https://plugins.gradle.org/plugin/com.github.kt3k.ebean.enhance

Thank you very much! :smile: