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.

convenience feature idea: add a dependency from the command line

See original GitHub issue

In the spirit of php’s composer and go’s glide, it would be cool if this were possible with Kobalt:

./kobaltw dep com.sparkjava:spark-core:2.5.4

If there is only one project module in the Build.kt, the dependency would automatically be added to the project’s compile dependencies

If there are multiple projects, it would be cool if Kobalt asked which one to add to. Or an error could be thrown.

it might also be cool to support adding of repos. this would make it easy to copy/paste from the web and get started trying some library.

./kobaltw repo

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

cbeustcommented, Mar 22, 2017

Indeed it should work.

pabl0rgcommented, Mar 22, 2017

@ethauvin That’s a cool use of Kobalt + Kotlin + JVM but not exactly what I had in mind. Anyway, what I had in mind could be done in a plugin…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add an option to provide runtime classpath with dependencies ...
So, I have a workaround right now of simply going to the command line and running "mvn exec:exec -Dexec.classpathScope=compile" along with debugger options...
Read more >
Using maven and Intellij IDEA, how can I modify a ...
I found out a way to do this. First, you add the library's pom.xml in the Maven Projects tool window. Then you Edit...
Read more >
Using Maven in IntelliJ IDEA - YouTube
A hands-on demo of Maven features available in IntelliJ IDEA and how to use them to get the best outcomes. IntelliJ IDEA is...
Read more >
Apache Maven Dependency Plugin – Usage
If you intend to configure this goal for execution on the command line using: mvn dependency:copy. you must not put the configuration inside ......
Read more >
Apache Maven Tutorial -
In this exercise you create a Java project with the Maven command line tooling and build this project. You use the scaffolding functionality...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found