Skip to content
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

Gradle plugin badges can be served by maven-metadata but needs to have configurable naming #1839

Closed
loosebazooka opened this issue Aug 2, 2018 · 1 comment

Comments

@loosebazooka
Copy link

The gradle plugin repository can be referenced by maven-metadata:

https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/com/google/cloud/tools/jib/com.google.cloud.tools.jib.gradle.plugin/maven-metadata.xml.svg

However, this looks like this some text

But it's really the gradle plugin version. Maybe a way to customize the text here would make it useful to gradle plugin developers.

@RedSparr0w
Copy link
Member

Thanks for opening this issue,
I believe you can achieve this by adding ?label=gradle to the end of your badges url:
https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/com/google/cloud/tools/jib/com.google.cloud.tools.jib.gradle.plugin/maven-metadata.xml.svg?label=gradle
badge


Closing as solved
Note:If this doesn't solve your issue, feel free to re-open 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants