Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20348

Add a dependency via command line ala pip and npm?

$
0
0

what about just gradle add junit? It would install the latest release version as a compile dependency by default. Wow! Sensible defaults!
If you want to get more granular: gradle add -v 4.12 -c testCompile junit or gradle add -c testCompile org.junit:junit:4.12


Viewing all articles
Browse latest Browse all 20348

Trending Articles