Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Android SDK 32, 33, 34 #983

Merged
merged 17 commits into from
Dec 18, 2023
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@

### Version 0.54.1
* Clean up leftover tmp file for Android Lint genrule

### Version 0.54.2
* Added support for Android API 32, 33, and 34
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.uber:okbuck:0.54.1'
gpolak marked this conversation as resolved.
Show resolved Hide resolved
classpath 'com.uber:okbuck:0.54.2'
}
}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.uber:okbuck:0.54.1'
classpath 'com.uber:okbuck:0.54.2'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ enum API {
API_28("9", "4913185-2"),
API_29("10", "5803371"),
API_30("11", "6757853"),
API_31("12", "7732740");
API_31("12", "7732740"),
API_32("12.1", "8229987"),
API_33("13", "9030017"),
API_34("14", "10818077");

private final String androidVersion;
private final String frameworkSdkBuildVersion;
Expand Down Expand Up @@ -173,6 +176,12 @@ static API from(String apiLevel) {
return API_30;
case "31":
return API_31;
case "32":
return API_32;
case "33":
return API_33;
case "34":
return API_34;
default:
throw new IllegalStateException("Unknown Robolectric API Level: " + apiLevel);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class TestExtension {
* Hardcoded in Robolectric
* https://github.com/robolectric/robolectric/blob/master/robolectric/src/main/java/org/robolectric/plugins/DefaultSdkProvider.java#L50
*/
public String robolectricPreinstrumentedVersion = "i3";
public String robolectricPreinstrumentedVersion = "i4";

/** Enable generation of espresso test rules. */
public boolean espresso = false;
Expand Down
Loading