-
Notifications
You must be signed in to change notification settings - Fork 11.2k
guava android doesn't define module com.google.com #7813
Description
Guava Version
33.4.8-android
Description
I have a library that is used for both desktop and android apps. For this reason I used the android version of guava. In my module-info.java I have had requires com.google.common; for years, and this worked up until 33.4.5-android, when I started getting this build error:
java: module not found: com.google.common
This occurs on every version including 33.4.8-android (the most recent as of this writing). Switching to the jre version fixes the issue. I don't see anything in any of the release notes to indicate this should be broken on the android versions.
Example
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.4.8-android</version>
</dependency>
module org.jsoar.core
{
requires com.google.common;
...
}Expected Behavior
Compiles.
Actual Behavior
java: module not found: com.google.common
Packages
No response
Platforms
No response
Checklist
-
I agree to follow the code of conduct.
-
I can reproduce the bug with the latest version of Guava available.