Status Update
Comments
sg...@google.com <sg...@google.com> #2
We are already META-INF/versions
META-INF/versions
directory is not located in the root of the jar, but in org/gradle/internal/impldep/META-INF/versions
. Can you share the (location of the) JAR where you see this issue?
Also see
ma...@gmail.com <ma...@gmail.com> #3
This is happening in this jar:
My current workaround is to org/gradle/internal/impldep/META-INF/versions
is not a standard location (sorry I missed that before, I thought that could be a possibility), I think it's fair to say R8 is working as intended. Feel free to close this issue.
Also see
, which is a feature request to consider preferring class files from the latest version for multi-release JAR's. b/134377851
Even better! Will follow the discussion there. Thanks again for the help 🙏
sg...@google.com <sg...@google.com> #4
Thank you for reporting back and confirming that the class files are indeed under org/gradle/internal/impldep/META-INF/versions
.
Description
Adding a multi-release jar file , such as the Gradle API jar to the classpath fails with: