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

Support for the 2022.1.3 and EAP Intellij #11

Open
liucijus opened this issue Jul 14, 2022 · 0 comments
Open

Support for the 2022.1.3 and EAP Intellij #11

liucijus opened this issue Jul 14, 2022 · 0 comments

Comments

@liucijus
Copy link

I tried updating Intellij used in test example, but I'm getting compilation error:

ERROR: /home/vaidas/.cache/bazel/_bazel_vaidas/5c021e50cea8bb825fd0a3a624775fd3/external/idea_ultimate/indexing/BUILD.bazel:2:16: KotlinCompile @idea_ultimate//indexing:indexing_lib { kt: 5, java: 1, srcjars: 0 } for k8 failed: (Exit 1): build failed: error executing command bazel-out/host/bin/external/io_bazel_rules_kotlin/src/main/kotlin/build '--flagfile=bazel-out/k8-fastbuild/bin/external/idea_ultimate/indexing/indexing_lib-kt-java.jar-0.params'
warning: some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath
bazel-out/k8-fastbuild/bin/external/idea_ultimate/lib/_ijar/binary_libs/lib/3rd-party-rt-ijar.jar: warning: library has Kotlin runtime bundled into it
external/rules_intellij/src/main/kotlin/rules_intellij/indexing/IndexingService.kt:8:39: error: unresolved reference: StringHash
import com.intellij.openapi.util.text.StringHash
                                      ^
external/rules_intellij/src/main/kotlin/rules_intellij/indexing/IndexingService.kt:9:29: error: unresolved reference: exists
import com.intellij.util.io.exists

Intellij:

#WORKSPACE
intellij(
    name = "idea_ultimate",
    plugins = {
        "indexing-shared-ultimate:intellij.indexing.shared:221.6008.1": "44472c50bca5e0c595467ea0f9f9b46d9232bcdb9ef53abe8cafb001f13622f0",
        "indexing-shared:intellij.indexing.shared.core": "",
    },
    sha256 = "598e085c98283c3206d9b755e6ef5f3321a3a11b1e5affa740276e9e3b0bd1f0",
    type = "ideaIU",
    version = "2022.1.3",
)

Plugins:

http_file(
    name = "bazel_plugin_221",
    sha256 = "4209c61d070114df340a3d6bb172ef9becdaeff72dc793b9f3f9f238e2f8c307",
    urls = ["https://github.com/wix-playground/intellij/releases/download/v20.0-NIGHTLY.884/bazel-intellij-20221.20-NIGHTLY.884.zip"],
)

http_file(
    name = "scala_plugin_221",
    sha256 = "6a8cfc87c9485f48bd13856b5f4819a020f77c2a90f38d7128e026fc323330a7",
    urls = ["https://plugins.jetbrains.com/files/1347/167520/scala-intellij-bin-2022.1.13.zip"],
)

# BUILD
setup_intellij_toolchain(
    name = "ide",
    ide_repo = "idea_ultimate",
    plugins = {
        "ijwb": "@bazel_plugin_221//file",
        "Scala": "@scala_plugin_221//file",
    },
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant