Skip to content

Commit

Permalink
update java instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius committed Feb 20, 2024
1 parent 1bade0a commit dfce801
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ pnpm install
cp .env.example .env
```

>EAS setup (optional)
>Set EAS_PROJECT_ID, APP_ID, and OWNER in .env
> EAS setup (optional)
> Set EAS_PROJECT_ID, APP_ID, and OWNER in .env
In the `/apps/expo` directory, build the dev client using EAS:

Expand All @@ -40,7 +40,7 @@ pnpm dev
- [ ] community handles
- [x] Push notifications
- [ ] Drafts
- [ ] Full lists support
- [x] Full lists support
- [x] Share post as image
- [ ] Pro features
- [ ] Polls
Expand All @@ -49,12 +49,12 @@ pnpm dev
## Android local APK builds

- Install Android Studio, and the Android SDK
- Install Oracle Java 11 JDK (`brew install openjdk@11`)
- Install Azul Zulu OpenJDK (`brew install --cask zulu17`) and then set `JAVA_HOME` to the path of the JDK, which will probably be `/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home`
- Copy `google-services.json.example` to `google-services.json`, or add your own Firebase config
- Make Gradle faster in `~/.gradle/gradle.properties`:

```
org.gradle.jvmargs=-Xmx20g -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=2g
org.gradle.jvmargs=-Xmx20g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=2g
org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.daemon=false
Expand Down

0 comments on commit dfce801

Please sign in to comment.