Skip to content

Commit 2efb348

Browse files
runningcodeclaude
andauthored
build(uitest): Disable lint's Gradle version check (#6515)
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 <noreply@anthropic.com>
1 parent b37cc4c commit 2efb348

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎sentry-android-integration-tests/sentry-uitest-android/build.gradle.kts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ android {
7373

7474
// We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks.
7575
checkReleaseBuilds = false
76+
77+
// This module is the one lint picks to check the build root's Gradle wrapper, and this check
78+
// compares it with the latest Gradle release online, so every new release would fail the build.
79+
disable += "AndroidGradlePluginVersion"
7680
}
7781

7882
androidComponents.beforeVariants {

0 commit comments

Comments
 (0)