Skip to content

Commit

Permalink
Update guava-jre instead of guava-android.
Browse files Browse the repository at this point in the history
Since both flavors of Guava require Java 8+ nowadays (as [will jimfs](#229)), I don't think there's an advantage of using `guava-android`.

I suppose that I could look into how much of `java.file.nio` can work [under new versions of Android](https://developer.android.com/reference/java/nio/file/Path) or [with desugaring](https://developer.android.com/studio/write/java11-nio-support-table). (Notably, do custom file systems work at all?) But my guess is that, in general, any Android code that can use `java.file.nio` can use `guava-jre`—though perhaps it shouldn't do _either_ of those things :)

RELNOTES=n/a
PiperOrigin-RevId: 543520082
  • Loading branch information
cpovirk authored and Jimfs Team committed Jun 26, 2023
1 parent a3ddfdf commit a236f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<auto-service.version>1.1.1</auto-service.version>
<auto-common.version>1.2.2</auto-common.version>
<java.version>1.8</java.version>
<guava.version>32.0.1-android</guava.version>
<guava.version>32.0.1-jre</guava.version>
<!--
NOTE: When updating errorprone.version, also update javac.version to the
version used by the new error-prone version. You should be able to find
Expand Down

0 comments on commit a236f6f

Please sign in to comment.