Add ability to set default dependencies
See original GitHub issueMany of the basic capabilities can currently be configured with default values. These result in these values to be pre-selected in the UI as well as used on API requests.
It would be really nice to be able to specify the same on dependencies so that some dependencies could be pre-selected in the UI as well.
We have a custom fork of start.spring.io
and we have to modify index.js pretty heavily to make this happen.
I envision this in the yaml (the addition being the default: true
at the bottom.
initializr:
dependencies:
- name: AcmeCompany
content:
- name: ACME Spring Boot Starter
id: acme-spring-boot-starter
groupId: com.acme
artifactId: acme-spring-boot-starter
scope: compile
description: Acme Spring Boot Starter
starter: true
default: true
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Add build dependencies - Android Developers
To add a dependency to your project, specify a dependency configuration such as implementation in the dependencies block of your module's build.gradle file....
Read more >android - Gradle default dependencies when create new project
bigdestroyer: I found the file and modified it w/ my own desired default dependencies. Then I relaunched Android Studio & created a new...
Read more >Customizing resolution of a dependency directly
The default version is resolved to a specific version via a dependency resolve rule, which looks up the version in a corporate catalog...
Read more >Introduction to the Dependency Mechanism - Apache Maven
You could explicitly add a dependency to D 2.0 in A to force the use of D 2.0, ... the identity set to...
Read more >Enable Dependencies and Use Predecessors
You can use the Dependencies functionality in Smartsheet for automatic calculation ... (If you don't have columns set up for this, Smartsheet will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think we are. “Either way, on the generate request, if any deps param is specified then the default will be ignored.” means for me that, from a UI/UX perspective, the defaults are “deselected” as soon as you select a dependency. This can get a bit funky when you remove the dependencies you’ve added yourself (as the default should be enabled again then).
Anyway. Let’s get more feedback from the team.
@wilkinsona lets close this one out due to the ripple effect it would cause on clients. Its not critical for our usage - we already work around it in the
start-client
custom instance we have.