Skip to content

Commit c85c75c

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Bump minSdkVersion to 23 (Marshmallow).
RELNOTES=Our Android `minSdkVersion` is now 23 (Marshmallow). This follows the minimum of Google's foundational Android libraries, and we expect it to have no practical impact on users. PiperOrigin-RevId: 791226165
1 parent bf15a67 commit c85c75c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/test/java/com/google/common/truth/SubjectTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,8 +815,8 @@ public String toString() {
815815
public void disambiguationWithSameToString() {
816816
/*
817817
* We use `Object` instead of `StringBuilder` to force the compiler to choose that(Object) over
818-
* that(Comparable): StringBuilder does not implement Comparable under Android Lollipop, so the
819-
* test would fail there at runtime.
818+
* that(Comparable): StringBuilder does not implement Comparable under Android Marshmallow, so
819+
* the test would fail there at runtime.
820820
*/
821821
Object stringBuilderAsObject = new StringBuilder("foo");
822822
AssertionError e =

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@
272272
<annotations>com.google.common.truth.IgnoreJRERequirement</annotations>
273273
<signature>
274274
<groupId>com.toasttab.android</groupId>
275-
<artifactId>gummy-bears-api-21</artifactId>
276-
<version>0.10.0</version>
275+
<artifactId>gummy-bears-api-23</artifactId>
276+
<version>0.12.0</version>
277277
<!-- TODO(cpovirk): In principle, it would make sense to *also* test compatibility with JDK 1.8, since Truth also has JRE users. -->
278278
</signature>
279279
</configuration>

0 commit comments

Comments
 (0)