forked from bazelbuild/intellij
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
44 lines (40 loc) · 1.66 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Description: Indirections for SDK changes to the underlying platform library.
load("@rules_java//java:defs.bzl", "java_library")
load("//intellij_platform_sdk:build_defs.bzl", "select_for_plugin_api")
load(
"//:build-visibility.bzl",
"SDK_COMPAT_VISIBILITY",
"create_sdkcompat_visibility_package",
)
licenses(["notice"])
create_sdkcompat_visibility_package()
java_library(
name = "sdkcompat",
visibility = SDK_COMPAT_VISIBILITY,
exports = select_for_plugin_api({
"clion-2024.3": ["//sdkcompat/v243"],
"intellij-ue-2024.3": ["//sdkcompat/v243"],
"intellij-2024.3": ["//sdkcompat/v243"],
"android-studio-2022.3": ["//sdkcompat/v223"],
"android-studio-2023.1": ["//sdkcompat/v231"],
"android-studio-2023.2": ["//sdkcompat/v232"],
"intellij-2022.3": ["//sdkcompat/v223"],
"intellij-ue-2022.3": ["//sdkcompat/v223"],
"intellij-2023.1": ["//sdkcompat/v231"],
"intellij-ue-2023.1": ["//sdkcompat/v231"],
"intellij-2023.2": ["//sdkcompat/v232"],
"intellij-ue-2023.2": ["//sdkcompat/v232"],
"intellij-2023.3": ["//sdkcompat/v233"],
"intellij-ue-2023.3": ["//sdkcompat/v233"],
"intellij-2024.1": ["//sdkcompat/v241"],
"intellij-ue-2024.1": ["//sdkcompat/v241"],
"intellij-2024.2": ["//sdkcompat/v242"],
"intellij-ue-2024.2": ["//sdkcompat/v242"],
"clion-2022.3": ["//sdkcompat/v223"],
"clion-2023.1": ["//sdkcompat/v231"],
"clion-2023.2": ["//sdkcompat/v232"],
"clion-2023.3": ["//sdkcompat/v233"],
"clion-2024.1": ["//sdkcompat/v241"],
"clion-2024.2": ["//sdkcompat/v242"],
}),
)