Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
envoy-api: Java classes generated from the Envoy API and the protos it depends on.

This product includes the Envoy API (https://github.com/envoyproxy/envoy):

Envoy
Copyright The Envoy Project Authors

Licensed under Apache License 2.0. See LICENSE for terms.

This product includes the Prometheus data model (https://github.com/prometheus/client_model):

Data model artifacts for Prometheus.
Copyright 2012-2015 The Prometheus Authors

This product includes software developed at
SoundCloud Ltd. (http://soundcloud.com/).
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ proto dependencies (xds, udpa, protoc-gen-validate, googleapis, cel, OpenTelemet

This needs the [`buf` CLI](https://buf.build/docs/cli/installation/) on your `PATH`.

Envoy and its proto dependencies are all Apache 2.0, like this project. `NOTICE` carries the notices of those that
have one (Envoy, Prometheus client_model), and goes into every jar with `LICENSE`. Check it when Envoy adds a
dependency to `api/buf.yaml`.

`google/api/annotations.proto`, `google/api/http.proto` and `google/rpc/status.proto` are not bundled: they come from
`com.google.api.grpc:proto-google-common-protos`, which gRPC already depends on, so the classes aren't duplicated.

Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ java {

tasks.withType(Jar).configureEach {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
// Apache 2.0 section 4: what we distribute carries the licence and the upstream NOTICEs.
metaInf {
from(rootProject.file("LICENSE"), rootProject.file("NOTICE"))
}
}

tasks.withType(Javadoc).configureEach {
Expand Down
Loading