Skip to content

Commit

Permalink
Remove AI-222 plugin SDK
Browse files Browse the repository at this point in the history
Reviewed By: payne911

Differential Revision: D49329692

fbshipit-source-id: d2a1b411a1b5a24aceee868158b4d3e039ce1a61
  • Loading branch information
Joshua Selbo authored and facebook-github-bot committed Sep 18, 2023
1 parent f3a2a2d commit c14c33e
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions litho-intellij-plugin/src/main/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ load(
"make_dep_path",
)

_CONFIG_AI222 = "fbsource//third-party/java/intellij:AI-222-config"

_CONFIG_AI223 = "fbsource//third-party/java/intellij:AI-223-config"

_JAVA_TARGET_SELECT = select(
{
_CONFIG_AI222: "11",
_CONFIG_AI223: "17",
"DEFAULT": "17",
},
)

fb_java_library(
name = "main",
srcs = glob(
Expand All @@ -30,11 +18,7 @@ fb_java_library(
],
),
abi_generation_mode = "class",
javac = select({
_CONFIG_AI222: None,
_CONFIG_AI223: "fbcode//tools/build/buck/wrappers:javac17.sh",
"DEFAULT": "fbcode//tools/build/buck/wrappers:javac17.sh",
}),
javac = "fbcode//tools/build/buck/wrappers:javac17.sh",
provided_deps = [
ANDROID_STUDIO_PLUGIN_SDK,
],
Expand All @@ -43,8 +27,8 @@ fb_java_library(
exclude = ["resources/META-INF/redsymbols.xml"],
),
resources_root = "resources",
source = _JAVA_TARGET_SELECT,
target = _JAVA_TARGET_SELECT,
source = "17",
target = "17",
visibility = ["PUBLIC"],
deps = [
LITHO_ANNOTATIONS_TARGET,
Expand Down

0 comments on commit c14c33e

Please sign in to comment.