From 5fd0b464a899d5ff32ffef9fa3b56883fdb76f9c Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Mon, 9 Nov 2026 10:25:35 +0100 Subject: [PATCH] build(uitest): Disable lint's Gradle version check Lint checks the build root's gradle-wrapper.properties in a single module it picks per build. Since the integration tests moved into their own build, that module is sentry-uitest-android, which treats warnings as errors. AndroidGradlePluginVersion compares the wrapper with the latest Gradle release online, so the Gradle 9.9.0 release turned the Samples workflow red on main without any change on our side. Co-Authored-By: Claude Opus 5.5 --- .../sentry-uitest-android/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sentry-android-integration-tests/sentry-uitest-android/build.gradle.kts b/sentry-android-integration-tests/sentry-uitest-android/build.gradle.kts index 382d3c15fd..5539cac694 100644 --- a/sentry-android-integration-tests/sentry-uitest-android/build.gradle.kts +++ b/sentry-android-integration-tests/sentry-uitest-android/build.gradle.kts @@ -73,6 +73,10 @@ android { // We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks. checkReleaseBuilds = false + + // 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" } androidComponents.beforeVariants {