-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating readme for instructions about how to clone a branch with a r…
…ecursive module and also about how to specify Java 8 for gradle's JVM for gradle versions > 6.9 (#93)
- Loading branch information
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,8 +34,14 @@ SPF requires: **Java 8** and **Gradle 6.9**. | |
|
||
### 1. Get the latest SPF version | ||
```{bash} | ||
git clone --recurse-submodules [email protected]:SymbolicPathFinder/jpf-symbc.git | ||
git clone --recurse-submodules [email protected]:SymbolicPathFinder/jpf-symbc.git SPF | ||
``` | ||
|
||
If cloning from the `gradle-build` branch then specify that branch in the clone command | ||
```{bash} | ||
git clone -b gradle-build --recurse-submodules [email protected]:SymbolicPathFinder/jpf-symbc.git SPF | ||
``` | ||
|
||
<details> | ||
<summary>Console Output</summary> | ||
|
||
|
@@ -66,6 +72,11 @@ Submodule path 'jpf-core': checked out '45a4450cd0bd1193df5419f7c9d9b89807d00db6 | |
cd SPF | ||
gradle :jpf-core:buildJars | ||
``` | ||
If using a gradle version > 6.9, you can point gradle to the Java 8 home on your machine. You need to specify that for all gradle commands blow. For example: | ||
|
||
```{bash} | ||
gradle :jpf-core:buildJars -Dorg.gradle.java.home=/usr/lib/jvm/java-8-openjdk-amd64 | ||
``` | ||
<details> | ||
<summary>Console Output</summary> | ||
|
||
|