Skip to content

Commit

Permalink
Update code-change-guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liferoad authored Nov 4, 2024
1 parent 242b0b2 commit adc7143
Showing 1 changed file with 3 additions and 1 deletion.
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`.**

#### 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

0 comments on commit adc7143

Please sign in to comment.