Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.03 KB

File metadata and controls

47 lines (30 loc) · 1.03 KB

Contributing

Welcome to the OpenTelemetry Java Examples repository!

Building

Java 17 or higher is required to build the projects in this repository. To check your Java version, run:

java -version

To build the project, run:

./gradlew assemble

Markdown linting

This repository uses markdownlint via markdownlint-cli2 managed by mise.

To check all Markdown files:

mise run lint:markdown

(note: Windows users may need to run mise install first)

To automatically fix fixable issues:

mise run lint:markdown --fix

Style guide

This repository follows the OpenTelemetry Java repository's style guide.

Gradle conventions

  • Use kotlin instead of groovy
  • Plugin versions should be specified in settings.gradle.kts, not in individual modules
  • All modules use plugins { id("otel.java-conventions") }