Skip to content

Update BUILD.md with directions for CLI build #1160

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
10 changes: 9 additions & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,15 @@ If your main concern is with the `Core` you don't need to build and start the wh

## Other editors

TBD
### No editor, Ubuntu 24.04
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This title can be more general? I think this approach would work more distros than just Ubuntu 24.04 correct?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be more general. As written, it wouldn't work for anything not Debian based, but Temurin seems to prefer being installed by extracting a tarball, so updating the directions to that will make it more general across all linux distros and perhaps macOS.


```
sudo apt install openjdk-17-jdk openjdk-17-source
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use the Terumin 17 JDK distribution

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update to that then.

export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/
./gradlew build
./gradlew tets
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

./gradlew package
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should mention that this will create the package in the app/build/compose/binaries folder, I think we should also mention Processing can launched directly with run

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for those notes, I will add them as well.

```

## Troubleshooting and Setup Tips (IntelliJ IDEA)

Expand Down