From de4f35739b27047caefed1d4b9ea41ab33168bda Mon Sep 17 00:00:00 2001 From: lucas Date: Fri, 13 Mar 2026 13:50:18 +0000 Subject: [PATCH 1/3] remove yarn dependency --- scripts/update-android-stubs.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/update-android-stubs.sh b/scripts/update-android-stubs.sh index f8055fbf2f..e5226b7d73 100755 --- a/scripts/update-android-stubs.sh +++ b/scripts/update-android-stubs.sh @@ -21,9 +21,11 @@ set-version) newValue="${BASH_REMATCH[1]}$2" echo "${content/${BASH_REMATCH[0]}/$newValue}" >$file +cd android/replay-stubs && ./gradlew jar # Rebuild the stubs jar and JS types - cd .. - yarn build:replay-stubs || true + cd ../android/replay-stubs + echo "Building Stub" + ./gradlew jar ;; *) echo "Unknown argument $1" From 3c3626ef1a0127723f861ed6875f6ebab83c2839 Mon Sep 17 00:00:00 2001 From: LucasZF Date: Fri, 13 Mar 2026 13:52:19 +0000 Subject: [PATCH 2/3] Apply suggestion from @lucas-zimerman --- scripts/update-android-stubs.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/update-android-stubs.sh b/scripts/update-android-stubs.sh index e5226b7d73..5b8ef58afc 100755 --- a/scripts/update-android-stubs.sh +++ b/scripts/update-android-stubs.sh @@ -21,7 +21,6 @@ set-version) newValue="${BASH_REMATCH[1]}$2" echo "${content/${BASH_REMATCH[0]}/$newValue}" >$file -cd android/replay-stubs && ./gradlew jar # Rebuild the stubs jar and JS types cd ../android/replay-stubs echo "Building Stub" From f998d7dec9b6c53b0c535b94ec47ddaeb51fbb92 Mon Sep 17 00:00:00 2001 From: lucas Date: Fri, 13 Mar 2026 13:54:20 +0000 Subject: [PATCH 3/3] fix path --- scripts/update-android-stubs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-android-stubs.sh b/scripts/update-android-stubs.sh index e5226b7d73..7b8fffddc9 100755 --- a/scripts/update-android-stubs.sh +++ b/scripts/update-android-stubs.sh @@ -23,7 +23,7 @@ set-version) cd android/replay-stubs && ./gradlew jar # Rebuild the stubs jar and JS types - cd ../android/replay-stubs + cd replay-stubs echo "Building Stub" ./gradlew jar ;;