An open API service indexing awesome lists of open source software.

https://github.com/ryanmcdermott/gradle-dependency-example

Ridiculously simple example showing how you can use Gradle to install dependencies in Java and run programs using them
https://github.com/ryanmcdermott/gradle-dependency-example

gradle java

Last synced: about 1 month ago
JSON representation

Ridiculously simple example showing how you can use Gradle to install dependencies in Java and run programs using them

Awesome Lists containing this project

README

          

# gradle-dependency-example

## Installation
```
gradle build
java -jar build/libs/gradle-example.jar
```

## Installing Gradle (Optional)
If you don't have Java or Gradle installed, follow these steps:
```
sudo apt-get install unzip
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
curl -s https://get.sdkman.io | bash
source /PATH_RETURNED_BY_SDKMAN/.sdkman/bin/sdkman-init.sh
sdk install gradle 3.0
```