Skip to content

Commit

Permalink
Merge pull request #11493 from keymanapp/chore/android/sentry-4-6-0
Browse files Browse the repository at this point in the history
fix(android): Delete sentry-cli-2.31.1.exe during CI builds
  • Loading branch information
mcdurdin authored May 23, 2024
2 parents 7c34887 + e3aaca9 commit eb47e8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion android/KMAPro/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
// sentry-android-gradle-plugin 2.1.5+ requires AGP 7.0
classpath 'io.sentry:sentry-android-gradle-plugin:4.5.1'
classpath 'io.sentry:sentry-android-gradle-plugin:4.6.0'
classpath 'name.remal:gradle-plugins:1.5.0'

// From jcenter() which could be sunset in future
Expand Down
2 changes: 1 addition & 1 deletion oem/firstvoices/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {

dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'io.sentry:sentry-android-gradle-plugin:4.5.1'
classpath 'io.sentry:sentry-android-gradle-plugin:4.6.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
10 changes: 2 additions & 8 deletions oem/firstvoices/android/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ builder_describe "Builds FirstVoices for Android app." \
"configure" \
"build" \
"test Runs lint and tests." \
"--ci Don't start the Gradle daemon. For CI" \
"--upload-sentry Upload to sentry"
"--ci Don't start the Gradle daemon. For CI"

# parse before describe_outputs to check debug flags
builder_parse "$@"
Expand Down Expand Up @@ -54,15 +53,10 @@ fi

#### Build action definitions ####

function makeLocalSentryRelease() {
echo "Placeholder for uploading symbols to Sentry"
}

#### Build action definitions ####

# Check about cleaning artifact paths
if builder_start_action clean; then
rm -rf "$KEYMAN_ROOT/oem/firstvoices/android/app/build/outputs"
rm -rf "$KEYMAN_ROOT/oem/firstvoices/android/app/build/tmp"
builder_finish_action success clean
fi

Expand Down

0 comments on commit eb47e8b

Please sign in to comment.