Skip to content

Commit

Permalink
Replacing Ant build instructions with Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
albertlatacz authored Dec 2, 2016
1 parent 0539b14 commit 8fd62f6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,21 @@ Web version is available at [www.javarepl.com](http://www.javarepl.com/).


## Build
Building Java REPL requires the [ant build tool](http://ant.apache.org/).
Building Java REPL requires the [gradle](https://gradle.org/).

After cloning the git repository, navigate over to it and run:

```
$ ant
$ gradle -Pversion=dev shadowJar
```

After this completes, the jar completed with bundled dependencies will be located at **build/artifacts/javarepl-dev.build.jar**
After this completes, the jar completed with bundled dependencies will be located at **build/libs/javarepl-dev.jar**

Type the following to run

```
$ java -jar build/libs/javarepl-dev.jar
```

## Releases

Expand Down Expand Up @@ -67,7 +73,7 @@ Download latest Java REPL release from [GitHub](https://github.com/albertlatacz/


```
$ java -jar javarepl.jar
$ java -jar javarepl-VERSION.jar
```

If this doesn't work try to run pointing directly to *java* executable within JDK, like so
Expand Down

0 comments on commit 8fd62f6

Please sign in to comment.