Assigned
Status Update
Comments
ku...@google.com <ku...@google.com>
sa...@google.com <sa...@google.com> #2
I don't think this is related to Gradle itself. This is how Android handles resources.
Adam, do you have an idea of what's going on here?
Adam, do you have an idea of what's going on here?
Description
Source:https://github.com/GoogleCloudPlatform/appengine-java-standard/blob/aecf48dde8ca581b0387a5a4e231980d4961cc04/remoteapi/src/main/java/com/google/appengine/tools/remoteapi/RemoteApiInstaller.java#L123-L152
Problem you have encountered: When initializing the RemoteAPI across all threads, there is no mechanism to retry if the login fails. In the code below, the variable
installedForAllThreads
is a private static boolean that is set to true before calling thelogin()
method. Iflogin()
fails, the RemoteAPI is not actually installed, yetinstalledForAllThreads
remains true.public void installOnAllThreads(RemoteApiOptions options) throws IOException { final RemoteApiOptions finalOptions = options.copy(); validateOptions(finalOptions);
}
What you expected to happen: If login() fails, installedForAllThreads should be false.
Steps to reproduce:
Other information (workarounds you have tried, documentation consulted, etc):