Files
openide/python/intellij.python.ml.features/BUILD.bazel
Vladimir Fedorov 0ac4ba9405 [ml-api] JBAI-14600 unify ML API version
* Switched to the project-level dependency everywhere
* Introduced a new module intellij.platform.ml.logs to separate ml-api library usages from intellij.platform.ml and intellij.platform.ml.impl modules
* The following models has been adapted to the latest ML API version: python imports ranking, fuzzy resolve, completion trigger model, jetenry inline prompt detection, jetenry fleet code classification

Merge-request: IJ-MR-166415
Merged-by: Vladimir Fedorov <890readrid@gmail.com>

(cherry picked from commit 9056efba5a5397a700daabb453ee1477cfaabdf3)

GitOrigin-RevId: 7cfc63d35b55ac968d5a3b789d2ed5f29d4f12d6
2025-07-16 20:04:19 +00:00

35 lines
1.2 KiB
Python

### auto-generated section `build intellij.python.ml.features` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
jvm_resources(
name = "ml-features_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "ml-features",
module_name = "intellij.python.ml.features",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"@lib//:kotlin-stdlib",
"//platform/core-api:core",
"//platform/editor-ui-api:editor-ui",
"//platform/analysis-api:analysis",
"//platform/indexing-api:indexing",
"//platform/statistics",
"//platform/projectModel-api:projectModel",
"//platform/ml-logs",
"//python/python-psi-impl:psi-impl",
"//platform/platform-api:ide",
"//platform/platform-impl:ide-impl",
"//python:python-community-impl",
"//platform/util/concurrency",
"//platform/core-ui",
"//platform/platform-impl/codeinsight-inline:ide-codeinsight-inline",
"@lib//:python-ml-features-jetbrains-ml-models-python-imports-ranking-model",
],
runtime_deps = [":ml-features_resources"]
)
### auto-generated section `build intellij.python.ml.features` end