Easily access Gradle setup and install commands
Problem to solve
To make it easier for Gradle users it would be great if you could also choose to show the details for Gradle setup in the package details.
Here's an example how maven central does this:
A possible solution could be to introduce some tabs or a dropdown (with the choices: Apache Maven, Gradle Groovy DSL, Gradle Kotlin DSL) here:
Another thing to consider there is that it might be smart to remember what the user had selected last time to reduce the amount of clicks needed.
Other registries providing the feature:
- Maven Central: https://search.maven.org/artifact/com.uber/rave/2.2.0/jar
- Bintray: https://bintray.com/kotlin/ktor/ktor/1.4.0 (a bit hidden under "Maven build settings")
Some references/examples:
- Dependency:
- Repository:
If specific examples/templates (for example for the docs or for the package details) are needed, I can probably provide those
Proposal
Create a dropdown control that allows users to select which set of commands will be visible in the package detail UI.
Design proposal |
---|
Further Details
- This setting should be saved per user across all projects. This would mean that if a user selects
gradle
, the next time they look at a Maven package, thegradle
instruction options should be shown by default. - We should continue to show the command even if a package format only has 1 option currently for consistency.