Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/agp-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
strategy:
fail-fast: false
matrix:
agp: [ '9.0.0', '9.2.1', '9.4.0' ]
agp: [ '9.0.0', '9.4.0', '9.5.1' ]
integrations: [ true, false ]

name: AGP Matrix Release - AGP ${{ matrix.agp }} - Integrations ${{ matrix.integrations }}
env:
VERSION_AGP: ${{ matrix.agp }}
APPLY_SENTRY_INTEGRATIONS: ${{ matrix.integrations }}
# Upload replay snapshots from one cell only. Forks don't have access to the upload secret.
UPLOAD_REPLAY_SNAPSHOTS: ${{ matrix.agp == '9.4.0' && matrix.integrations && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
UPLOAD_REPLAY_SNAPSHOTS: ${{ matrix.agp == '9.5.1' && matrix.integrations && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}

steps:
- name: Checkout Repo
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ room2 = "2.8.4"
room3 = "3.0.0-rc01"
sagp = "6.13.0"
# The AGP matrix job overrides this with the VERSION_AGP env var, through each build's settings.
agp = "9.4.0"
agp = "9.5.1"
sqlite = "2.6.2"
sqliteRc = "2.8.0-alpha03" # Required by Room3 3.0.0-rc*
slf4j = "1.7.30"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ public final class ScreenshotUtils {
}

// Used by Hybrid SDKs
@SuppressLint("NewApi")
// Lint infers a UI-thread constraint from the View calls in captureScreenshot, which clashes with
// Bitmap.compress's @WorkerThread. captureScreenshot is safe from any thread, as it posts the
// view draw to the UI thread when it isn't already on it.
@SuppressLint({"NewApi", "ThreadConstraint"})
public static @Nullable byte[] takeScreenshot(
final @NotNull Activity activity,
final @NotNull IThreadChecker threadChecker,
Expand Down
4 changes: 4 additions & 0 deletions sentry-android-fragment/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ android {

// We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks.
checkReleaseBuilds = false

// Lint 9.5 can't load the custom checks bundled with older androidx.lifecycle releases and
// reports that it skips them. They only cover lifecycle APIs this module doesn't call.
disable += "ObsoleteLintCustomCheck"
}

buildFeatures { buildConfig = true }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ android {
// This module is the one lint picks to check the build root's Gradle wrapper, and this check
// compares it with the latest Gradle release online, so every new release would fail the build.
disable += "AndroidGradlePluginVersion"

// Lint 9.5 can't load the custom checks bundled with older androidx.lifecycle releases and
// reports that it skips them. They only cover lifecycle APIs this module doesn't call.
disable += "ObsoleteLintCustomCheck"
}

androidComponents.beforeVariants {
Expand Down
4 changes: 4 additions & 0 deletions sentry-android-navigation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ android {

// We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks.
checkReleaseBuilds = false

// Lint 9.5 can't load the custom checks bundled with older androidx.lifecycle releases and
// reports that it skips them. They only cover lifecycle APIs this module doesn't call.
disable += "ObsoleteLintCustomCheck"
}

buildFeatures { buildConfig = true }
Expand Down
4 changes: 4 additions & 0 deletions sentry-android-replay/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ android {

// We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks.
checkReleaseBuilds = false

// Lint 9.5 can't load the custom checks bundled with older androidx.lifecycle releases and
// reports that it skips them. They only cover lifecycle APIs this module doesn't call.
disable += "ObsoleteLintCustomCheck"
}

buildFeatures { buildConfig = true }
Expand Down
4 changes: 4 additions & 0 deletions sentry-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ android {

// We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks.
checkReleaseBuilds = false

// Lint 9.5 can't load the custom checks bundled with older androidx.lifecycle releases and
// reports that it skips them. They only cover lifecycle APIs this module doesn't call.
disable += "ObsoleteLintCustomCheck"
}

buildFeatures { buildConfig = true }
Expand Down
Loading