-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish plugin to the Gradle Plugins Portal #80
Publish plugin to the Gradle Plugins Portal #80
Conversation
Thanks for the PR. I will have a closer look tonight. It is really much better to go for the |
I have some issues publishing the plugin - I did not find a hint on how to solve this. Please see https://discuss.gradle.org/t/problems-publishing-an-existing-gradle-plugin-to-the-plugin-portal/31012?u=mduesterhoeft |
Ugh, yeah, that's a pain. I wonder if it's related to the |
I also tried without the |
Is there any way you think we could unblock this? If we can't get ownership of |
@mduesterhoeft Any chance of having another go at this? There are some docs at https://plugins.gradle.org/docs/reclaiming for how to "claim" plugin/account and instructions of how to contact the admins via https://plugins.gradle.org/docs/get-help. Although this situation seems a little different, it does seem the process is to go via their Contact Us page? |
Thanks for all the hard work on this issue. Was there ever any word back? |
Not that I'm aware of @UgmaDevelopment , this seems to be stuck. |
Can it perhaps just be published to a different location somehow as I suggested above (within Gradle Plugins portal) so we can move forward with current Gradle approaches to consuming plugins? :-/ |
I'll have a look and will try to resolve this @chadlwilson |
Trying to claim now. |
Seems like https://github.com/gradle/plugin-portal-requests/issues?q=is%3Aopen+is%3Aissue is the current way to claim groupIds. I'll prepare a request |
gradle/plugin-portal-requests#73 worked like a charm:
Now waiting for approval: |
Great news @ozscheyge ! Thanks for following up on this :-) |
The gradle plugin has been approved:
So far, that's only the version I published from my machine. I'd merge this, configure Travis and check the other follow-ups @chadlwilson mentioned. |
For future reference: Adding secrets to travis config ( https://docs.travis-ci.com/user/encryption-keys/ ):
Mapping environment variables to gradle.properties ( https://docs.gradle.org/current/userguide/build_environment.html#sec:project_properties ), so the follow two env vars need to be encrypted using the above method:
edit: doesn't quite work, yet: gradle/gradle#1246 |
https://plugins.gradle.org/plugin/com.epages.restdocs-api-spec da98029 |
Thanks @ozscheyge ! New published plugin seems to be working fine - was able to remove our // Workaround until restdocs-api-spec is published to Gradle Plugins Portal per https://github.com/ePages-de/restdocs-api-spec/issues/36
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.epages.restdocs-api-spec") {
useModule("com.epages:restdocs-api-spec-gradle-plugin:${requested.version}")
}
}
}
} |
Motivation
Use of the plugins DSL is much more concise and seems to be the way forward for Gradle. With the removal of need for Jitpack in #77 this appears to be easier now.
Resolves #36.
Changes made
mavenCoordinates
as my reading indicates we might need this since the plugin is already being published to bintrayFor team to do
0.9.1-rc1
) I can help test it. I initially updated the samples too; but probably better to have a build published first before we do that.