Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional compile time only annotations-api dependency dropped in …
…JDK11 Descriptions of the changes in this PR: ### Motivation Java Annotations API has been dropped from JRE since JDK11. We should add it explicitly at compile time. As we are using only the 'Generated' annotation, which has "source" retention when can add the dependency as 'optional'. We are not re-distributing the JAR in binary packages. ### Changes Add 'optional' dependency wherever it is needed (all GRPC artifacts for instance) Master Issue: #1710 Author: Sijie Guo <guosijie@gmail.com> Author: Enrico Olivelli <eolivelli@apache.org> Reviewers: Ivan Kelly <ivank@apache.org> This closes #1725 from eolivelli/fix/jdk11-add-annotations-api
- Loading branch information
Showing
5 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters