From dd9f3d548d1e73dc4eadb6a37776ea449d90efff Mon Sep 17 00:00:00 2001 From: Victor Manuel Cervantes Date: Mon, 30 Jan 2023 12:53:58 -0800 Subject: [PATCH] Bump robo preinstrumented version Bump preinstrumented version to 4 as found on robo src code. Run okbuck before performing CI tasks to update references --- .../main/java/com/uber/okbuck/extension/TestExtension.java | 2 +- tooling/ci/build_cmd.sh | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/java/com/uber/okbuck/extension/TestExtension.java b/buildSrc/src/main/java/com/uber/okbuck/extension/TestExtension.java index 43df9b7d..4d111351 100644 --- a/buildSrc/src/main/java/com/uber/okbuck/extension/TestExtension.java +++ b/buildSrc/src/main/java/com/uber/okbuck/extension/TestExtension.java @@ -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; diff --git a/tooling/ci/build_cmd.sh b/tooling/ci/build_cmd.sh index b41d752c..2559251a 100755 --- a/tooling/ci/build_cmd.sh +++ b/tooling/ci/build_cmd.sh @@ -6,7 +6,11 @@ if [ -z "$BUILD_CMD" ]; then exit 1 fi -SKIP_OKBUCK= ./buckw --version +export SKIP_OKBUCK=$(./buckw --version) + +echo "Building OKBUCK" +#export FORCE_OKBUCK=true +./gradlew okbuck -Dokbuck.wrapper=true --stacktrace echo "Running BUILD_CMD: $BUILD_CMD"