- Notifications
You must be signed in to change notification settings - Fork1.1k
Closed
Description
In production App Engine (standard runtime), reflection to get project ID and credentials won't work unless the user depends on appengine-api-1.0-sdk, even though the necessary jars are already provided by the runtime. To get around this, we should declare a "provided"-scoped dependency on that library ingcloud-java-core and use theAppIdentityService directly instead of through reflection to get credentials and the project ID.