question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability to set default dependencies

See original GitHub issue

Many 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:closed
  • Created 4 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
snicollcommented, Nov 4, 2019

Just want to be sure we are on the same page

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.

0reactions
onobccommented, Dec 3, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found