blob: 16a486c6d297511f5731f0513414946fdd17d5c9 [file] [log] [blame]
licenses(["notice"]) # Apache 2.0
java_library(
name = "golang",
srcs = glob(["src/**/*.java"]),
visibility = ["//visibility:public"],
deps = [
"//base",
"//intellij_platform_sdk:plugin_api",
"//sdkcompat",
"@jsr305_annotations//jar",
],
)
filegroup(
name = "plugin_xml",
srcs = ["src/META-INF/golang.xml"],
visibility = ["//visibility:public"],
)
load(
"//testing:test_defs.bzl",
"intellij_unit_test_suite",
)
intellij_unit_test_suite(
name = "unit_tests",
srcs = glob(["tests/unittests/**/*.java"]),
test_package_root = "com.google.idea.blaze.golang",
deps = [
":golang",
"//base",
"//base:unit_test_utils",
"//intellij_platform_sdk:plugin_api_for_tests",
"@jsr305_annotations//jar",
"@junit//jar",
],
)