From 61964f9195e4ba90218795a22f68c2ee8aa7b4ac Mon Sep 17 00:00:00 2001 From: Rick Busarow Date: Wed, 13 Nov 2024 12:03:32 -0600 Subject: [PATCH] update Gradle to 8.11 --- .../java/com/squareup/anvil/plugin/ClasspathTest.kt | 9 ++++++++- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/ClasspathTest.kt b/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/ClasspathTest.kt index 93254d3c6..ac2d384af 100644 --- a/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/ClasspathTest.kt +++ b/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/ClasspathTest.kt @@ -127,7 +127,14 @@ internal class ClasspathTest : BaseGradleTest() { val taskOutputs = output.split("> Task ", "\n\n") .associate { val lines = it.trim().lines() - lines.first() to lines.drop(1).joinToString("\n").trim() + lines.first() to lines.drop(1).joinToString("\n") + .replace( + // This warning is generated when accessing `runtimeClasspath` + // in projects using an old version of AGP. + regex = """(?:\[Incubating] )?Problems report is available at.+""".toRegex(), + replacement = "", + ) + .trim() } val stdlib = when { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 79eb9d003..7cf748e74 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-all.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME