Skip to content
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

Does not pass plugin verification for 2025.1 EAP #837

Closed
adietish opened this issue Feb 24, 2025 · 3 comments
Closed

Does not pass plugin verification for 2025.1 EAP #837

adietish opened this issue Feb 24, 2025 · 3 comments
Assignees
Milestone

Comments

@adietish
Copy link
Collaborator

adietish commented Feb 24, 2025

Plugin verification fails:

Image
@adietish adietish added this to the 1.6.0 milestone Feb 24, 2025
@adietish adietish moved this to 📝 In Progress in IDE Cloudaptors Feb 24, 2025
@adietish adietish self-assigned this Feb 24, 2025
@adietish
Copy link
Collaborator Author

adietish commented Feb 24, 2025

This is being discussed in the jetbrains forum: https://platform.jetbrains.com/t/unresolved-import-unresolved-reference-yamlfiletype/290/4

The solution suggested is to add the following workaround

bundledModule("intellij.yaml.editing")

This was reported to the jetbrains platform issue tracker which identified it as a problem of the intellij gradle plugin: JetBrains/intellij-platform-gradle-plugin#1883
According to it things should be fine when using intellij gradle plugin 2.2.2

@adietish adietish changed the title Does not build against 2025.1 EAP Does not pass plugin verification for 2025.1 EAP Feb 24, 2025
@adietish
Copy link
Collaborator Author

Plugin verification passes with the latest 2025.1

Image

@adietish
Copy link
Collaborator Author

adietish commented Feb 24, 2025

In summary we're fine for runtime compatibility as plugin verification is now passing. Compilation against 2025.1 still fails.

➜  intellij-kubernetes git:(main) ✗ ./gradlew clean buildPlugin -PplatformVersion=251.22821.72
Reusing configuration cache.

> Task :compileKotlin FAILED
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProvider.kt:18:22 Unresolved reference 'jsonSchema'.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProvider.kt:19:22 Unresolved reference 'jsonSchema'.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProvider.kt:25:5 Unresolved reference 'JsonSchemaFileProvider'.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProvider.kt:33:2 'isAvailable' overrides nothing.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProvider.kt:46:2 'getName' overrides nothing.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProvider.kt:50:2 'getSchemaFile' overrides nothing.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProvider.kt:54:2 'getSchemaType' overrides nothing.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProvider.kt:54:32 Unresolved reference 'SchemaType'.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProvider.kt:55:10 Unresolved reference 'SchemaType'.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProviderFactory.kt:19:22 Unresolved reference 'jsonSchema'.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProviderFactory.kt:20:22 Unresolved reference 'jsonSchema'.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProviderFactory.kt:25:42 Unresolved reference 'JsonSchemaProviderFactory'.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProviderFactory.kt:39:5 'getProviders' overrides nothing.
e: file:///Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/validation/KubernetesSchemaProviderFactory.kt:39:55 Unresolved reference 'JsonSchemaFileProvider'.

FAILURE: Build failed with an exception.

filed #838. Closing this issue as DONE.

@github-project-automation github-project-automation bot moved this from 📝 In Progress to ✅ Done in IDE Cloudaptors Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant