The build downloads proto definitions from open-telemetry/opentelemetry-proto and generates Java bindings:
./gradlew build
By default protos definitions will be downloaded for the latest published tag
of opentelemetry-proto-java
. For example, if the latest version
is 0.20.0, protos will be
downloaded from
the v0.20.0 release.
This can be overridden for the build or other gradle tasks (e.g. publishToMavenLocal
)
with -Prelease.version.prop
:
./gradlew build -Prelease.version.prop=1.0.0