Skip to content

Commit 2b11b66

Browse files
github-actions[bot]web-flowtustanivsky
authored
chore(deps): update Android Gradle Plugin to v5.8.0 (#975)
* chore: update scripts/update-android-gradle-plugin.sh to 5.8.0 * Fix gradle plugin version pattern to update Sentry_Android_UPL.xml --------- Co-authored-by: GitHub <noreply@github.com> Co-authored-by: Ivan Tustanivskyi <tustanivsky@gmail.com>
1 parent ab68b25 commit 2b11b66

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
- Bump Cocoa SDK (iOS and Mac) from v8.52.1 to v8.53.1 ([#981](https://github.com/getsentry/sentry-unreal/pull/981))
2828
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8531)
2929
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.52.1...8.53.1)
30+
- Bump Android Gradle Plugin from v4.11.0 to v5.8.0 ([#975](https://github.com/getsentry/sentry-unreal/pull/975))
31+
- [changelog](https://github.com/getsentry/sentry-android-gradle-plugin/blob/main/CHANGELOG.md#580)
32+
- [diff](https://github.com/getsentry/sentry-android-gradle-plugin/compare/4.11.0...5.8.0)
3033

3134
## 1.0.0-beta.3
3235

plugin-dev/Source/Sentry/Sentry_Android_UPL.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
<insert>
186186
dependencies {
187187
classpath 'com.android.tools.build:gradle:7.4.2'
188-
classpath 'io.sentry:sentry-android-gradle-plugin:4.11.0' // current
188+
classpath 'io.sentry:sentry-android-gradle-plugin:5.8.0' // current
189189
}
190190
</insert>
191191
</false>

scripts/update-android-gradle-plugin.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ANDROID_UPL_FILEPATH=plugin-dev/Source/Sentry/Sentry_Android_UPL.xml
66

77
case $1 in
88
get-version)
9-
perl -ne 'print "$1\n" if ( m/io\.sentry:sentry-android-gradle-plugin:([0-9.]+).*\/\/ current/ )' $ANDROID_UPL_FILEPATH
9+
perl -ne 'print "$1\n" if ( m/''io\.sentry:sentry-android-gradle-plugin:([0-9.]+)''.*\/\/ current/ )' $ANDROID_UPL_FILEPATH
1010
;;
1111
get-repo)
1212
echo "https://github.com/getsentry/sentry-android-gradle-plugin.git"
@@ -16,8 +16,8 @@ set-version)
1616

1717
echo "Setting Android Gradle Plugin version to '$version'"
1818

19-
PATTERN="io\.sentry:sentry-android-gradle-plugin:([0-9.]+).*\/\/ current"
20-
perl -pi -e "s/$PATTERN/io.sentry:sentry-android-gradle-plugin:$version \/\/ current/g" $ANDROID_UPL_FILEPATH
19+
PATTERN="'io\.sentry:sentry-android-gradle-plugin:([0-9.]+)'.*\/\/ current"
20+
perl -pi -e "s/$PATTERN/'io.sentry:sentry-android-gradle-plugin:$version' \/\/ current/g" $ANDROID_UPL_FILEPATH
2121
;;
2222
*)
2323
echo "Unknown argument $1"

0 commit comments

Comments
 (0)