diff --git a/google-api-client/src/main/java/com/google/api/client/googleapis/GoogleUtils.java b/google-api-client/src/main/java/com/google/api/client/googleapis/GoogleUtils.java index 19c7f30c9..c15c8a458 100644 --- a/google-api-client/src/main/java/com/google/api/client/googleapis/GoogleUtils.java +++ b/google-api-client/src/main/java/com/google/api/client/googleapis/GoogleUtils.java @@ -93,7 +93,8 @@ private static String getVersion() { // this value should be read and cached for later use String version = null; try (InputStream inputStream = - GoogleUtils.class.getResourceAsStream("google-api-client.properties")) { + GoogleUtils.class.getResourceAsStream( + "/com/google/api/client/googleapis/google-api-client.properties")) { if (inputStream != null) { Properties properties = new Properties(); properties.load(inputStream);