Tool for adding dependencies to gradle/maven/sbt build files
Just run jadd
without arguments and enjoy tab completion!
jadd i logback-classic postgresql gson commons-io io.grpc:grpc-protobuf
jadd i -r jrequirements.txt
-
install
(shortcuti
) add dependency to build file -
search
(shortcuts
) print dependency to console -
analyze
search dependency in multiple repositories and print all available versions -
show
show artifacts from build file -
help
curl -s https://raw.githubusercontent.com/d10xa/jadd/master/install.sh | bash
And then add following to ~/.profile
or ~/.bashrc
or ~/.zshrc
export PATH=$PATH:$HOME/.jadd/bin
just run installation script
mvn archetype:generate -DgroupId=com.example -DartifactId=example-mvn -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
cd example-mvn
jadd i logback-classic
mkdir example-gradle
cd example-gradle
gradle init --type java-application
jadd i mysql
sbt new scala/scala-seed.g8
# name [Scala Seed Project]: example-sbt
cd example-sbt
jadd i akka-http
only full artifactId supported. shortcuts not available
jadd analyze --repository=bintray/groovy/maven,google,jcenter,mavenCentral org.codehaus.groovy:groovy-eclipse-compiler