Skip to content

Commit d5577e6

Browse files
cushoncopybara-github
authored andcommitted
Update r8 min sdk version to 19
PiperOrigin-RevId: 596676516 Change-Id: I0c60aa371c9ee99d27e47e5b75480e881b5e9da2
1 parent 3d23951 commit d5577e6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/tools/android/java/com/google/devtools/build/android/r8/CompatDx.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public static class Options extends OptionsBase {
313313

314314
@Option(
315315
name = "min-sdk-version",
316-
defaultValue = "13", // Same as Constants.MIN_API_LEVEL.
316+
defaultValue = "19", // Same as Constants.MIN_API_LEVEL.
317317
documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
318318
effectTags = {OptionEffectTag.UNKNOWN},
319319
allowMultiple = false,

src/tools/android/java/com/google/devtools/build/android/r8/Constants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class Constants {
1818
// When changing this also change the defaultValue for min-sdk-version in CompatDx.java,
1919
// CoreLibraryDesugaring and Desugar.java. The defaultValue for annotation parameters must be
2020
// compile time constants, and a "public final String" value is rejected.
21-
public static final int MIN_API_LEVEL = 13;
21+
public static final int MIN_API_LEVEL = 19;
2222

2323
private Constants() {}
2424
}

src/tools/android/java/com/google/devtools/build/android/r8/CoreLibraryDesugar.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static class DesugarOptions extends OptionsBase {
100100

101101
@Option(
102102
name = "min_sdk_version",
103-
defaultValue = "13", // Same as Constants.MIN_API_LEVEL.
103+
defaultValue = "19", // Same as Constants.MIN_API_LEVEL.
104104
category = "misc",
105105
documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
106106
effectTags = {OptionEffectTag.UNKNOWN},

src/tools/android/java/com/google/devtools/build/android/r8/Desugar.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public static class DesugarOptions extends OptionsBase {
158158

159159
@Option(
160160
name = "min_sdk_version",
161-
defaultValue = "13", // Same as Constants.MIN_API_LEVEL.
161+
defaultValue = "19", // Same as Constants.MIN_API_LEVEL.
162162
category = "misc",
163163
documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
164164
effectTags = {OptionEffectTag.UNKNOWN},

0 commit comments

Comments
 (0)