File tree Expand file tree Collapse file tree 2 files changed +17
-23
lines changed Expand file tree Collapse file tree 2 files changed +17
-23
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,22 @@ To build the project, run:
1818./gradlew assemble
1919```
2020
21+ ## Generating semantic conventions
22+
23+ Requires docker.
24+
25+ In a shell, execute the following gradle tasks:
26+
27+ ``` shell
28+ ./gradlew clean generateSemanticConventions --console=plain
29+ ./gradlew spotlessApply
30+ ```
31+
32+ This will download the version
33+ of [ open-telemetry/semantic-conventions] ( https://github.com/open-telemetry/semantic-conventions )
34+ defined in the ` semanticConventionsVersion ` variable of [ build.gradle.kts] ( ./build.gradle.kts ) and
35+ generate semantic conventions classes from the release contents.
36+
2137## Style guide
2238
2339This repository follows the OpenTelemetry Java
Original file line number Diff line number Diff line change @@ -73,31 +73,9 @@ Stable artifacts (i.e. artifacts without `-alpha` version suffix) come with stro
7373
7474Compatibility guarantees are inherited from [ opentelemetry-java] [ versioning ] .
7575
76- ## Generating semantic conventions
77-
78- Requires docker.
79-
80- In a shell, execute the following gradle tasks:
81-
82- ``` shell
83- ./gradlew clean generateSemanticConventions --console=plain
84- ./gradlew spotlessApply
85- ```
86-
87- This will download the version
88- of [ open-telemetry/semantic-conventions] ( https://github.com/open-telemetry/semantic-conventions )
89- defined in the ` semanticConventionsVersion ` variable of [ build.gradle.kts] ( ./build.gradle.kts ) and
90- generate semantic conventions classes from the release contents.
91-
9276## Contributing
9377
94- Before you start - see OpenTelemetry
95- general [ contributing] ( https://github.com/open-telemetry/community/tree/main/guides/contributor )
96- requirements and recommendations.
97-
98- Make sure to review the projects [ license] ( LICENSE ) and sign
99- the [ CNCF CLA] ( https://identity.linuxfoundation.org/projects/cncf ) . A signed CLA will be enforced by
100- an automatic check once you submit a PR, but you can also sign it after opening your PR.
78+ See [ CONTRIBUTING.md] ( CONTRIBUTING.md ) .
10179
10280### Maintainers
10381
You can’t perform that action at this time.
0 commit comments