| package(default_visibility = ["//visibility:public"]) |
| |
| licenses(["notice"]) |
| |
| load("//intellij_platform_sdk:build_defs.bzl", "select_for_plugin_api") |
| |
| java_library( |
| name = "go_internal", |
| visibility = ["//visibility:private"], |
| exports = select_for_plugin_api({ |
| "intellij-2017.2.2": ["@go_2017_2//:go"], |
| "intellij-2017.1.5": ["@go_2017_1//:go"], |
| "intellij-ue-2017.2.2": ["@go_2017_2//:go"], |
| "intellij-ue-2017.1.5": ["@go_2017_1//:go"], |
| "clion-2017.2.1": ["@go_2017_2//:go"], |
| "clion-2017.1.1": ["@go_2017_1//:go"], |
| }), |
| ) |
| |
| java_library( |
| name = "go_for_tests", |
| testonly = 1, |
| exports = [":go_internal"], |
| ) |
| |
| java_library( |
| name = "go", |
| neverlink = 1, |
| exports = [":go_internal"], |
| ) |