badges / badges/shields

Display gradle plugin version numbers

Open
#9,053 1 comment 0 reactions 0 assignees View on GitHub
service-badge
Dominant language
JavaScript
Stars
27.2k
Forks
5.6k
Avg merge
1d 8h
Merged PRs (30d)
46

Description

The build.gradle file starts with a set of plugins to use, and those plugins include version numbers. It would be very useful to be able to display badges that contained the version numbers.

For example, my build.gradle files has this at the beginning:
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2023.4.2"
id 'com.diffplug.spotless' version '6.12.0'
id "com.github.spotbugs" version "5.0.13"
id "org.sonarqube" version "3.5.0.2730"
}

A badge that could specify a source code site like github or gitlab to denote a particular repo/branch/ref etc, then a string to specify which plugin, and then the badge itself would display the plugin name followed by the version.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how Shields defines badge endpoints and how a repository/ref can be inspected for its build.gradle file. Done means a badge can select a source site, repository, branch or ref, and Gradle plugin, then display that plugin's name and version; the issue does not name a test or implementation file.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.