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

plugins

(Yoshiya Hinosawa) #1

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’.


Numeric character in plugin ID
(Tom Dunstan) #2

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


(Yoshiya Hinosawa) #3

Hi Tom

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

Best,


(Andreas Mahnke) #4

Hello Tom,

it seems I’m hitting the same bug:

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

Best Regards

(Tom Dunstan) #5

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


(Yoshiya Hinosawa) #6

Hi @tomd

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

Thank you very much! :smile: