Task 'runPluginVerifier' not found in root project

The runPluginVerifier is not found in my root after upgrading to the latest version of intelliJPlatform:2.1.0

$ ./gradlew runPluginVerifier
       
Calculating task graph as no cached configuration is available for tasks: runPluginVerifier

FAILURE: Build failed with an exception.

* What went wrong:
Task 'runPluginVerifier' not found in root project 'vscode-theme'.

* Try:
> Run gradlew tasks to get a list of available tasks.
> For more on name expansion, please refer to https://docs.gradle.org/8.10.2/userguide/command_line_interface.html#sec:name_abbreviation in the Gradle documentation.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 6s
Configuration cache entry stored.

Here is my libs.versions.toml

[versions]
# libraries
junit = "4.13.2"

# plugins
changelog = "2.2.1"
intelliJPlatform = "2.1.0"
kotlin = "2.1.0"
kover = "0.8.3"
qodana = "2024.2.3"

[libraries]
junit = { group = "junit", name = "junit", version.ref = "junit" }

[plugins]
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
intelliJPlatform = { id = "org.jetbrains.intellij.platform", version.ref = "intelliJPlatform" }
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
qodana = { id = "org.jetbrains.qodana", version.ref = "qodana" }

Here is what I have tried so far:

  1. Unlinked and relinked the gradle project
  2. refreshed the gradle project
  3. Deleted .gradle and .intellijplatform folders and re-imported the gradle.

But nothing seems to be working. Any help is much appreciated! thanks!

The task is called verifyPlugin for 2.x, see Verifying Plugin Compatibility | IntelliJ Platform Plugin SDK

1 Like

Thanks @yann.cebron. That was it. Looks like the Run Configuration was still caching the tasks from previous version.