Skip to content

Commit

Permalink
fix: make google-http-client.properties file shading friendly (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
medb authored Oct 13, 2020
1 parent 9ab7016 commit 860bb05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,8 @@ private static String getVersion() {
// this value should be read and cached for later use
String version = "unknown-version";
try (InputStream inputStream =
HttpRequest.class.getResourceAsStream("/google-http-client.properties")) {
HttpRequest.class.getResourceAsStream(
"/com/google/api/client/http/google-http-client.properties")) {
if (inputStream != null) {
final Properties properties = new Properties();
properties.load(inputStream);
Expand Down

0 comments on commit 860bb05

Please sign in to comment.