From f4452fa260c07f41d6192d6c637dba4810fdbbec Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 15:09:46 +0100 Subject: [PATCH] Update dependency gradle to v8.7 (#330) * Update dependency gradle to v8.7 * add new method --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nelson Osacky --- build.gradle.kts | 5 +++-- .../java/com/osacky/doctor/SlowerFromCacheCollectorTest.kt | 6 +++++- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 6d152e87..17d53862 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -28,7 +28,8 @@ configure { downloadSpeedWarningThreshold.set(2.0f) daggerThreshold.set(100) javaHome { - ensureJavaHomeMatches.set(!providers.environmentVariable("CI").isPresent) + ensureJavaHomeMatches.set(false) + ensureJavaHomeIsSet.set(false) } } @@ -39,7 +40,7 @@ tasks.withType(Test::class.java).configureEach { } tasks.wrapper { - gradleVersion = "8.6" + gradleVersion = "8.7" } tasks.register("pluginTasks").configure { diff --git a/doctor-plugin/src/test/java/com/osacky/doctor/SlowerFromCacheCollectorTest.kt b/doctor-plugin/src/test/java/com/osacky/doctor/SlowerFromCacheCollectorTest.kt index 1fd75b5b..cfc40a6c 100644 --- a/doctor-plugin/src/test/java/com/osacky/doctor/SlowerFromCacheCollectorTest.kt +++ b/doctor-plugin/src/test/java/com/osacky/doctor/SlowerFromCacheCollectorTest.kt @@ -88,7 +88,11 @@ internal class SlowerFromCacheCollectorTest { throw NotImplementedError() } - override fun getOriginExecutionTime(): Long? { + override fun getOriginBuildCacheKeyBytes(): ByteArray? { + TODO("Not yet implemented") + } + + override fun getOriginExecutionTime(): Long { return originExecutionTime } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a80b22ce..b82aa23a 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.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME