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

Update code-change-guide.md #33008

Merged
merged 2 commits into from
Nov 4, 2024
Merged
Changes from 1 commit
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
4 changes: 3 additions & 1 deletion contributor-docs/code-change-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ To run a Gradle task, use the command `./gradlew -p <PROJECT_PATH> <TASK>` or th
./gradlew :sdks:java:harness:test
```

**It is recommended to run `./gradlew clean` if you run into some strange errors such as `java.lang.NoClassDefFoundError`.**
liferoad marked this conversation as resolved.
Show resolved Hide resolved

#### Beam-specific Gradle project configuration

For Apache Beam, one plugin manages everything: `buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin`.
Expand Down Expand Up @@ -145,7 +147,7 @@ in the Google Cloud documentation.

Depending on the languages involved, your `PATH` file needs to have the following elements configured.

* A Java environment that uses a supported Java version, preferably Java 8.
* A Java environment that uses a supported Java version, preferably Java 11.
* This environment is needed for all development, because Beam is a Gradle project that uses JVM.
* Recommended: To manage Java versions, use [sdkman](https://sdkman.io/install).

Expand Down
Loading