jadd
Tool for adding dependencies to gradle/maven/sbt build files
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
(shortcuti
) add dependency to build file -
search
(shortcuts
) print dependency to console -
show
show artifacts from build file -
help
installation
coursier install jadd --channel https://git.io/JvV0g
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