diff --git a/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/LifecycleTest.kt b/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/LifecycleTest.kt index 008db115e..e757b44ba 100644 --- a/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/LifecycleTest.kt +++ b/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/LifecycleTest.kt @@ -26,7 +26,7 @@ class LifecycleTest : BaseGradleTest() { fun `tasks are compatible with configuration caching when targeting kotlin-jvm`() = params .distinctBy { it.gradleVersion } - .withKspToggle { versions, useKsp -> + .withKspToggle { _, useKsp -> rootProject { buildFile { @@ -44,10 +44,8 @@ class LifecycleTest : BaseGradleTest() { } } - val calculatingMessage = when { - versions.gradleVersion >= "8.5" -> "Calculating task graph as no cached configuration is available for tasks: compileKotlin" - else -> "Calculating task graph as no configuration cache is available for tasks: compileKotlin" - } + val calculatingMessage = + "Calculating task graph as no cached configuration is available for tasks: compileKotlin" val storingMessage = "Configuration cache entry stored." diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index dedd5d1e6..79eb9d003 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.9-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME