From 76c0de66003bc3c858d4d00de1de5eaa864f454b Mon Sep 17 00:00:00 2001 From: Konstantin Tskhovrebov Date: Thu, 12 Dec 2024 12:58:02 +0100 Subject: [PATCH] [gradle] Disable AGP lint in gradle plugin tests due continuous problems. For example: Execution failed for task ':lintVitalAnalyzeDemoRelease'. > java.nio.file.NoSuchFileException: Temp\junit13866219496701371987\build\intermediates\lint-cache\lint-cache-version.txt on Windows --- .../test/test-projects/misc/commonResources/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gradle-plugins/compose/src/test/test-projects/misc/commonResources/build.gradle.kts b/gradle-plugins/compose/src/test/test-projects/misc/commonResources/build.gradle.kts index 26a21ee7e90..74e7d2daec6 100644 --- a/gradle-plugins/compose/src/test/test-projects/misc/commonResources/build.gradle.kts +++ b/gradle-plugins/compose/src/test/test-projects/misc/commonResources/build.gradle.kts @@ -64,6 +64,9 @@ android { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } + lintOptions { + checkReleaseBuilds = false + } } abstract class GenerateAndroidRes : DefaultTask() {