From 66478543672d0283f8a2042e85a5a6417b4a81d6 Mon Sep 17 00:00:00 2001 From: Gabriel Ittner Date: Thu, 3 Oct 2024 17:30:06 +0200 Subject: [PATCH] config cache --- CHANGELOG.md | 2 +- .../kotlin/com/vanniktech/maven/publish/ProjectSpecRunner.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d69ac51..05b95389 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,7 +29,7 @@ Configuration cache is generally supported, except for: - Publishing releases to Maven Central (snapshots are fine), blocked by [Gradle issue #22779](https://github.com/gradle/gradle/issues/22779). -- Dokka only supports configuration cache in `V2Enabled` mode +- When using Dokka until Dokka version 2.1.0 is out ## 0.29.0 *(2024-06-20)* diff --git a/plugin/src/integrationTest/kotlin/com/vanniktech/maven/publish/ProjectSpecRunner.kt b/plugin/src/integrationTest/kotlin/com/vanniktech/maven/publish/ProjectSpecRunner.kt index 68a4b2ed..b41a2de3 100644 --- a/plugin/src/integrationTest/kotlin/com/vanniktech/maven/publish/ProjectSpecRunner.kt +++ b/plugin/src/integrationTest/kotlin/com/vanniktech/maven/publish/ProjectSpecRunner.kt @@ -42,7 +42,7 @@ fun ProjectSpec.run(fixtures: Path, temp: Path, options: TestOptions): ProjectRe private fun supportsConfigCaching(plugins: List): Boolean { // TODO can always return true when dropping support for dokka 1 - return plugins.none { it.id == dokkaPlugin.id && it.version!!.startsWith("1.") } + return plugins.none { it.id == dokkaPlugin.id } } private fun ProjectSpec.writeBuildFile(path: Path, repo: Path, options: TestOptions) {