Skip to content

Commit

Permalink
docs: add Java notes to README (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber authored and David Code Howard committed Nov 1, 2023
1 parent a3bc22e commit 62714f9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ This repo contains the source code for Terraso’s mobile client modules.
Install dependencies:

```sh
$ brew install node watchman rbenv
$ brew install node watchman rbenv openjdk@17
$ sudo ln -sfn /opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdk
```

Configure rbenv:
Expand Down Expand Up @@ -43,7 +44,7 @@ $ bundle exec pod install
### Linux

```sh
$ sudo apt install node watchman
$ sudo apt install node watchman openjdk-17-jdk
```

## Android
Expand Down Expand Up @@ -115,6 +116,10 @@ jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore ~/terraso

# Env Setup

## Java

Ensure you are using a verison of Java [compatible with gradle](https://docs.gradle.org/current/userguide/compatibility.html). JDK 11 and JDK 17 both work with Gradle 7.5.1.

## Logging In

Once all of the dependencies are installed, you'll need to do the following to enable logins:
Expand Down

0 comments on commit 62714f9

Please sign in to comment.