Skip to content
/ jadd Public

Command-line tool for adding dependencies to gradle/maven/sbt build files

License

Notifications You must be signed in to change notification settings

d10xa/jadd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

920 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jadd

Maven Central Travis codecov Scala Steward badge

Tool for adding dependencies to gradle/maven/sbt build files

jadd.gif

REPL!

Just run jadd without arguments and enjoy tab completion!

usage

jadd i logback-classic postgresql gson commons-io io.grpc:grpc-protobuf
jadd i -r jrequirements.txt

commands

  • install (shortcut i) add dependency to build file

  • search (shortcut s) print dependency to console

  • show show artifacts from build file

  • help

installation

coursier install jadd --channel https://git.io/JvV0g

build and run from sources

sbt publishLocal
  [info]  published ivy to ~/.ivy2/local/ru.d10xa/jadd-cli_2.13/0.1.27-RC3+133-f448e33d+20230726-0002/ivys/ivy.xml
coursier launch ru.d10xa:jadd_2.13:0.1.27-RC3 -- show

examples

maven

mvn archetype:generate -DgroupId=com.example -DartifactId=example-mvn -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
cd example-mvn
jadd i logback-classic

gradle

mkdir example-gradle
cd example-gradle
gradle init --type java-application
jadd i mysql

sbt

sbt new scala/scala-seed.g8
# name [Scala Seed Project]: example-sbt
cd example-sbt
jadd i akka-http

About

Command-line tool for adding dependencies to gradle/maven/sbt build files

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors