convenience feature idea: add a dependency from the command line
See original GitHub issueIn 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 https://xyz.com/repo
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top 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 - Vogella.com
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 >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
Indeed it should work.
@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…