Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add Java notes to README #555

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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