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