Skip to content

[IJ Plugin] Use latest plugin verifier #6517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libraries.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ guava-jre = { group = "com.google.guava", name = "guava", version.ref = "guava"
http4k-bom = "org.http4k:http4k-bom:5.8.0.0"
http4k-core = { module = "org.http4k:http4k-core" }
http4k-server-jetty = { module = "org.http4k:http4k-server-jetty" }
intellij-platform-plugin = "org.jetbrains.intellij.platform:intellij-platform-gradle-plugin:2.1.0"
intellij-platform-plugin = "org.jetbrains.intellij.platform:intellij-platform-gradle-plugin:2.5.0"
intellij-changelog = "org.jetbrains.intellij.plugins:gradle-changelog-plugin:2.0.0"
jetbrains-annotations = { group = "org.jetbrains", name = "annotations", version.ref = "jetbrains-annotations" }
junit = { group = "junit", name = "junit", version.ref = "junit" }
Expand Down
12 changes: 4 additions & 8 deletions intellij-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask.FailureLevel.COMPATIBILITY_PROBLEMS
import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask.FailureLevel.INTERNAL_API_USAGES
import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask.FailureLevel.INVALID_PLUGIN
import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask.FailureLevel.PLUGIN_STRUCTURE_WARNINGS
Expand Down Expand Up @@ -163,10 +163,8 @@ dependencies {
create(type = properties("platformType"), version = properties("platformVersion"))
bundledPlugins(properties("platformBundledPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
plugins(properties("platformPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
instrumentationTools()
// Use a specific version of the verifier
// TODO: remove when https://youtrack.jetbrains.com/issue/MP-7366 is fixed
pluginVerifier(version = "1.383")
// Uncomment the version if needing a specific one, e.g. if a regression is introduced in the latest version - see https://github.com/JetBrains/intellij-plugin-verifier/releases
pluginVerifier(/*version = "1.385"*/)
testFramework(TestFrameworkType.Plugin.Java)
zipSigner()
}
Expand Down Expand Up @@ -249,9 +247,7 @@ intellijPlatform {
}
failureLevel.set(
setOf(
// Temporarily disabled due to https://platform.jetbrains.com/t/plugin-verifier-fails-with-plugin-com-intellij-modules-json-not-declared-as-a-plugin-dependency/580
// TODO: Uncomment when https://youtrack.jetbrains.com/issue/MP-7366 is fixed
// COMPATIBILITY_PROBLEMS,
COMPATIBILITY_PROBLEMS,
INTERNAL_API_USAGES,
INVALID_PLUGIN,
PLUGIN_STRUCTURE_WARNINGS,
Expand Down
Loading