From 80004fae79d932e7cbb0e44630402cb4fea5db6c Mon Sep 17 00:00:00 2001 From: Steve Ramage Date: Sun, 15 Nov 2026 14:21:03 -0700 Subject: [PATCH] build: bump IntelliJ Platform Gradle plugin to 2.20.1 Disable searchable options through the intellijPlatform extension rather than the buildSearchableOptions task alone. From 2.20 the prepareJarSearchableOptions task fails when that task is disabled, as its input directory is never created. Supersedes #583. Co-Authored-By: Claude Opus 5.5 --- build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index f215337b..7bbe8c94 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -30,7 +30,7 @@ fun getVersionNumber() : String { plugins { id("java") - id("org.jetbrains.intellij.platform") version "2.19.0" + id("org.jetbrains.intellij.platform") version "2.20.1" id("org.jetbrains.grammarkit") version "2023.3.0.4" id("checkstyle") id("jacoco") @@ -174,10 +174,10 @@ tasks { } } -tasks { - buildSearchableOptions { - enabled = false - } +intellijPlatform { + // Disables buildSearchableOptions and prepareJarSearchableOptions together; disabling only the + // former leaves the latter failing on its missing input directory (Gradle plugin 2.20+). + buildSearchableOptions = false } /*