Building the Project

如果您已在本地克隆了项目,请按照以下步骤从源代码构建项目。

If you have cloned the project locally, follow these steps to build the project from the source code.

8.x (8.3 or above) Gradle 是构建必需的。

Gradle 8.x (8.3 or above) is required to build.

运行以下命令以完全构建项目:

Run the following command to do a full build of the project:

./gradlew clean build

您可以使用以下命令在不运行测试的情况下进行构建:

You can build without running tests by using the following command:

./gradlew clean build -x test

您可以使用此命令构建参考文档:

You can build the reference documentation using this command:

./gradlew :spring-pulsar-docs:antora

您可以在 docs/build/site 目录中查看生成的 HTML。

You can view the generated HTML in docs/build/site directory.