Skip to content

Commit 8ec2f23

Browse files
authored
Add CONTRIBUTING.md (#596)
1 parent 1140628 commit 8ec2f23

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contributing
2+
3+
Welcome to the OpenTelemetry Java Examples repository!
4+
5+
## Building
6+
7+
Java 17 or higher is required to build the projects in this repository.
8+
To check your Java version, run:
9+
10+
```bash
11+
java -version
12+
```
13+
14+
To build the project, run:
15+
16+
```bash
17+
./gradlew assemble
18+
```
19+
20+
## Style guide
21+
22+
This repository follows the OpenTelemetry Java
23+
repository's [style guide](https://github.com/open-telemetry/opentelemetry-java/blob/main/CONTRIBUTING.md#style-guideline).
24+
25+
## Gradle conventions
26+
27+
- Use kotlin instead of groovy
28+
- Plugin versions should be specified in `settings.gradle.kts`, not in individual modules
29+
- All modules use `plugins { id("otel.java-conventions") }`

0 commit comments

Comments
 (0)