From b9e0688da4f91d5725127aab68198c12accc30d3 Mon Sep 17 00:00:00 2001 From: anna-skrodzka Date: Tue, 5 Nov 2024 00:26:41 +0100 Subject: [PATCH] 3rdparty BUILD files modified --- tests/3rdparty/jvm/com/eed3si9n/BUILD | 56 ++++++ tests/3rdparty/jvm/com/google/android/BUILD | 2 +- tests/3rdparty/jvm/com/google/api/grpc/BUILD | 2 +- .../jvm/com/google/code/findbugs/BUILD | 2 +- tests/3rdparty/jvm/com/google/code/gson/BUILD | 2 +- .../3rdparty/jvm/com/google/errorprone/BUILD | 2 +- tests/3rdparty/jvm/com/google/guava/BUILD | 2 +- tests/3rdparty/jvm/com/google/protobuf/BUILD | 2 +- tests/3rdparty/jvm/com/lmax/BUILD | 10 + tests/3rdparty/jvm/com/novocode/BUILD | 14 -- tests/3rdparty/jvm/com/swoval/BUILD | 10 + tests/3rdparty/jvm/com/thesamet/scalapb/BUILD | 6 +- .../jvm/com/thesamet/scalapb/grpcweb/BUILD | 16 -- tests/3rdparty/jvm/io/grpc/BUILD | 56 +----- tests/3rdparty/jvm/io/netty/BUILD | 6 +- tests/3rdparty/jvm/io/perfmark/BUILD | 2 +- tests/3rdparty/jvm/jline/BUILD | 10 + tests/3rdparty/jvm/net/java/dev/jna/BUILD | 23 +++ tests/3rdparty/jvm/net/openhft/BUILD | 10 + .../jvm/org/apache/logging/log4j/BUILD | 23 +++ tests/3rdparty/jvm/org/checkerframework/BUILD | 2 +- tests/3rdparty/jvm/org/codehaus/mojo/BUILD | 2 +- tests/3rdparty/jvm/org/fusesource/jansi/BUILD | 10 + tests/3rdparty/jvm/org/jline/BUILD | 51 ++++++ tests/3rdparty/jvm/org/scala_js/BUILD | 15 ++ tests/3rdparty/jvm/org/scala_lang/BUILD | 30 ++- .../3rdparty/jvm/org/scala_lang/modules/BUILD | 15 +- tests/3rdparty/jvm/org/scala_sbt/BUILD | 173 ++++++++++++++++-- tests/3rdparty/jvm/org/scala_sbt/jline/BUILD | 13 ++ tests/3rdparty/jvm/org/typelevel/BUILD | 14 ++ 30 files changed, 467 insertions(+), 114 deletions(-) create mode 100644 tests/3rdparty/jvm/com/eed3si9n/BUILD create mode 100644 tests/3rdparty/jvm/com/lmax/BUILD delete mode 100644 tests/3rdparty/jvm/com/novocode/BUILD create mode 100644 tests/3rdparty/jvm/com/swoval/BUILD delete mode 100644 tests/3rdparty/jvm/com/thesamet/scalapb/grpcweb/BUILD create mode 100644 tests/3rdparty/jvm/jline/BUILD create mode 100644 tests/3rdparty/jvm/net/java/dev/jna/BUILD create mode 100644 tests/3rdparty/jvm/net/openhft/BUILD create mode 100644 tests/3rdparty/jvm/org/apache/logging/log4j/BUILD create mode 100644 tests/3rdparty/jvm/org/fusesource/jansi/BUILD create mode 100644 tests/3rdparty/jvm/org/jline/BUILD create mode 100644 tests/3rdparty/jvm/org/scala_sbt/jline/BUILD create mode 100644 tests/3rdparty/jvm/org/typelevel/BUILD diff --git a/tests/3rdparty/jvm/com/eed3si9n/BUILD b/tests/3rdparty/jvm/com/eed3si9n/BUILD new file mode 100644 index 0000000..d26e009 --- /dev/null +++ b/tests/3rdparty/jvm/com/eed3si9n/BUILD @@ -0,0 +1,56 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +scala_import( + name = "shaded_jawn_parser", + jars = [ + "//external:jar/com/eed3si9n/shaded_jawn_parser_3" + ], + runtime_deps = [ + "//3rdparty/jvm/org/scala_lang:scala3_library" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) + +scala_import( + name = "shaded_scalajson", + jars = [ + "//external:jar/com/eed3si9n/shaded_scalajson_3" + ], + runtime_deps = [ + "//3rdparty/jvm/org/scala_lang:scala3_library" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) + +scala_import( + name = "sjson_new_core", + jars = [ + "//external:jar/com/eed3si9n/sjson_new_core_3" + ], + runtime_deps = [ + "//3rdparty/jvm/net/openhft:zero_allocation_hashing", + "//3rdparty/jvm/org/scala_lang:scala3_library" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) + +scala_import( + name = "sjson_new_scalajson", + jars = [ + "//external:jar/com/eed3si9n/sjson_new_scalajson_3" + ], + runtime_deps = [ + "//3rdparty/jvm/org/scala_lang:scala3_library", + ":shaded_jawn_parser", + ":shaded_scalajson", + ":sjson_new_core" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/com/google/android/BUILD b/tests/3rdparty/jvm/com/google/android/BUILD index f17c56c..0067517 100644 --- a/tests/3rdparty/jvm/com/google/android/BUILD +++ b/tests/3rdparty/jvm/com/google/android/BUILD @@ -5,6 +5,6 @@ java_import( "//external:jar/com/google/android/annotations" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/com/google/api/grpc/BUILD b/tests/3rdparty/jvm/com/google/api/grpc/BUILD index df46559..7c555f0 100644 --- a/tests/3rdparty/jvm/com/google/api/grpc/BUILD +++ b/tests/3rdparty/jvm/com/google/api/grpc/BUILD @@ -8,6 +8,6 @@ java_import( "//3rdparty/jvm/com/google/protobuf:protobuf_java" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/com/google/code/findbugs/BUILD b/tests/3rdparty/jvm/com/google/code/findbugs/BUILD index 723fcb6..c2e15b4 100644 --- a/tests/3rdparty/jvm/com/google/code/findbugs/BUILD +++ b/tests/3rdparty/jvm/com/google/code/findbugs/BUILD @@ -5,6 +5,6 @@ java_import( "//external:jar/com/google/code/findbugs/jsr305" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/com/google/code/gson/BUILD b/tests/3rdparty/jvm/com/google/code/gson/BUILD index 86a804e..9b595e4 100644 --- a/tests/3rdparty/jvm/com/google/code/gson/BUILD +++ b/tests/3rdparty/jvm/com/google/code/gson/BUILD @@ -5,6 +5,6 @@ java_import( "//external:jar/com/google/code/gson/gson" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/com/google/errorprone/BUILD b/tests/3rdparty/jvm/com/google/errorprone/BUILD index 7b904df..6d7c46d 100644 --- a/tests/3rdparty/jvm/com/google/errorprone/BUILD +++ b/tests/3rdparty/jvm/com/google/errorprone/BUILD @@ -5,6 +5,6 @@ java_import( "//external:jar/com/google/errorprone/error_prone_annotations" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/com/google/guava/BUILD b/tests/3rdparty/jvm/com/google/guava/BUILD index aefa84e..5cf36da 100644 --- a/tests/3rdparty/jvm/com/google/guava/BUILD +++ b/tests/3rdparty/jvm/com/google/guava/BUILD @@ -23,7 +23,7 @@ java_import( ":listenablefuture" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/com/google/protobuf/BUILD b/tests/3rdparty/jvm/com/google/protobuf/BUILD index 331fe60..7293e51 100644 --- a/tests/3rdparty/jvm/com/google/protobuf/BUILD +++ b/tests/3rdparty/jvm/com/google/protobuf/BUILD @@ -5,6 +5,6 @@ java_import( "//external:jar/com/google/protobuf/protobuf_java" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/com/lmax/BUILD b/tests/3rdparty/jvm/com/lmax/BUILD new file mode 100644 index 0000000..6d8e2fa --- /dev/null +++ b/tests/3rdparty/jvm/com/lmax/BUILD @@ -0,0 +1,10 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +java_import( + name = "disruptor", + jars = [ + "//external:jar/com/lmax/disruptor" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/com/novocode/BUILD b/tests/3rdparty/jvm/com/novocode/BUILD deleted file mode 100644 index 05c4239..0000000 --- a/tests/3rdparty/jvm/com/novocode/BUILD +++ /dev/null @@ -1,14 +0,0 @@ -load("@rules_scala3//rules:scala.bzl", "scala_import") -java_import( - name = "junit_interface", - jars = [ - "//external:jar/com/novocode/junit_interface" - ], - runtime_deps = [ - "//3rdparty/jvm/junit:junit", - "//3rdparty/jvm/org/scala_sbt:test_interface" - ], - visibility = [ - "//visibility:public" - ] -) diff --git a/tests/3rdparty/jvm/com/swoval/BUILD b/tests/3rdparty/jvm/com/swoval/BUILD new file mode 100644 index 0000000..cab3c5b --- /dev/null +++ b/tests/3rdparty/jvm/com/swoval/BUILD @@ -0,0 +1,10 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +java_import( + name = "file_tree_views", + jars = [ + "//external:jar/com/swoval/file_tree_views" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/com/thesamet/scalapb/BUILD b/tests/3rdparty/jvm/com/thesamet/scalapb/BUILD index 957037f..798692a 100644 --- a/tests/3rdparty/jvm/com/thesamet/scalapb/BUILD +++ b/tests/3rdparty/jvm/com/thesamet/scalapb/BUILD @@ -9,7 +9,7 @@ scala_import( "//3rdparty/jvm/org/scala_lang:scala3_library" ], visibility = [ - "//visibility:public" + "//3rdparty/jvm:__subpackages__" ] ) @@ -38,7 +38,7 @@ scala_import( "//3rdparty/jvm/org/scala_lang:scala3_library_sjs1" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) @@ -88,6 +88,6 @@ scala_import( ":protobuf_runtime_scala_sjs1" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/com/thesamet/scalapb/grpcweb/BUILD b/tests/3rdparty/jvm/com/thesamet/scalapb/grpcweb/BUILD deleted file mode 100644 index 5cbba03..0000000 --- a/tests/3rdparty/jvm/com/thesamet/scalapb/grpcweb/BUILD +++ /dev/null @@ -1,16 +0,0 @@ -load("@rules_scala3//rules:scala.bzl", "scala_import") -scala_import( - name = "scalapb_grpcweb_sjs1", - jars = [ - "//external:jar/com/thesamet/scalapb/grpcweb/scalapb_grpcweb_sjs1_3" - ], - runtime_deps = [ - "//3rdparty/jvm/com/thesamet/scalapb:protobuf_runtime_scala_sjs1", - "//3rdparty/jvm/com/thesamet/scalapb:scalapb_runtime_sjs1", - "//3rdparty/jvm/org/scala_js:scalajs_library", - "//3rdparty/jvm/org/scala_lang:scala3_library_sjs1" - ], - visibility = [ - "//visibility:public" - ] -) diff --git a/tests/3rdparty/jvm/io/grpc/BUILD b/tests/3rdparty/jvm/io/grpc/BUILD index 8f47518..a8802c9 100644 --- a/tests/3rdparty/jvm/io/grpc/BUILD +++ b/tests/3rdparty/jvm/io/grpc/BUILD @@ -9,58 +9,6 @@ java_import( "//3rdparty/jvm/com/google/errorprone:error_prone_annotations", "//3rdparty/jvm/com/google/guava:guava" ], - visibility = [ - "//3rdparty/jvm:__subpackages__" - ] -) - -java_import( - name = "grpc_context", - jars = [ - "//external:jar/io/grpc/grpc_context" - ], - runtime_deps = [ - ":grpc_api" - ], - visibility = [ - "//3rdparty/jvm:__subpackages__" - ] -) - -java_import( - name = "grpc_core", - jars = [ - "//external:jar/io/grpc/grpc_core" - ], - runtime_deps = [ - "//3rdparty/jvm/com/google/android:annotations", - "//3rdparty/jvm/com/google/code/gson:gson", - "//3rdparty/jvm/com/google/errorprone:error_prone_annotations", - "//3rdparty/jvm/com/google/guava:guava", - "//3rdparty/jvm/io/perfmark:perfmark_api", - "//3rdparty/jvm/org/codehaus/mojo:animal_sniffer_annotations", - ":grpc_api", - ":grpc_context" - ], - visibility = [ - "//3rdparty/jvm:__subpackages__" - ] -) - -java_import( - name = "grpc_netty", - jars = [ - "//external:jar/io/grpc/grpc_netty" - ], - runtime_deps = [ - "//3rdparty/jvm/com/google/errorprone:error_prone_annotations", - "//3rdparty/jvm/com/google/guava:guava", - "//3rdparty/jvm/io/netty:netty_codec_http2", - "//3rdparty/jvm/io/netty:netty_handler_proxy", - "//3rdparty/jvm/io/netty:netty_transport_native_unix_common", - "//3rdparty/jvm/io/perfmark:perfmark_api", - ":grpc_core" - ], visibility = [ "//visibility:public" ] @@ -80,7 +28,7 @@ java_import( ":grpc_protobuf_lite" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) @@ -110,6 +58,6 @@ java_import( ":grpc_api" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/io/netty/BUILD b/tests/3rdparty/jvm/io/netty/BUILD index d7157ec..8d2518d 100644 --- a/tests/3rdparty/jvm/io/netty/BUILD +++ b/tests/3rdparty/jvm/io/netty/BUILD @@ -58,7 +58,7 @@ java_import( ":netty_transport" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) @@ -120,7 +120,7 @@ java_import( ":netty_transport" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) @@ -163,6 +163,6 @@ java_import( ":netty_transport" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/io/perfmark/BUILD b/tests/3rdparty/jvm/io/perfmark/BUILD index fe1cb03..7c95064 100644 --- a/tests/3rdparty/jvm/io/perfmark/BUILD +++ b/tests/3rdparty/jvm/io/perfmark/BUILD @@ -5,6 +5,6 @@ java_import( "//external:jar/io/perfmark/perfmark_api" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/jline/BUILD b/tests/3rdparty/jvm/jline/BUILD new file mode 100644 index 0000000..3a284f9 --- /dev/null +++ b/tests/3rdparty/jvm/jline/BUILD @@ -0,0 +1,10 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +java_import( + name = "jline", + jars = [ + "//external:jar/jline/jline" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/net/java/dev/jna/BUILD b/tests/3rdparty/jvm/net/java/dev/jna/BUILD new file mode 100644 index 0000000..de70d9a --- /dev/null +++ b/tests/3rdparty/jvm/net/java/dev/jna/BUILD @@ -0,0 +1,23 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +java_import( + name = "jna", + jars = [ + "//external:jar/net/java/dev/jna/jna" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) + +java_import( + name = "jna_platform", + jars = [ + "//external:jar/net/java/dev/jna/jna_platform" + ], + runtime_deps = [ + ":jna" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/net/openhft/BUILD b/tests/3rdparty/jvm/net/openhft/BUILD new file mode 100644 index 0000000..0677dc2 --- /dev/null +++ b/tests/3rdparty/jvm/net/openhft/BUILD @@ -0,0 +1,10 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +java_import( + name = "zero_allocation_hashing", + jars = [ + "//external:jar/net/openhft/zero_allocation_hashing" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/org/apache/logging/log4j/BUILD b/tests/3rdparty/jvm/org/apache/logging/log4j/BUILD new file mode 100644 index 0000000..86137a2 --- /dev/null +++ b/tests/3rdparty/jvm/org/apache/logging/log4j/BUILD @@ -0,0 +1,23 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +java_import( + name = "log4j_api", + jars = [ + "//external:jar/org/apache/logging/log4j/log4j_api" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) + +java_import( + name = "log4j_core", + jars = [ + "//external:jar/org/apache/logging/log4j/log4j_core" + ], + runtime_deps = [ + ":log4j_api" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/org/checkerframework/BUILD b/tests/3rdparty/jvm/org/checkerframework/BUILD index 4b1b5f8..2e79d95 100644 --- a/tests/3rdparty/jvm/org/checkerframework/BUILD +++ b/tests/3rdparty/jvm/org/checkerframework/BUILD @@ -5,6 +5,6 @@ java_import( "//external:jar/org/checkerframework/checker_qual" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/org/codehaus/mojo/BUILD b/tests/3rdparty/jvm/org/codehaus/mojo/BUILD index 0a5dd36..75abcfa 100644 --- a/tests/3rdparty/jvm/org/codehaus/mojo/BUILD +++ b/tests/3rdparty/jvm/org/codehaus/mojo/BUILD @@ -5,6 +5,6 @@ java_import( "//external:jar/org/codehaus/mojo/animal_sniffer_annotations" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/org/fusesource/jansi/BUILD b/tests/3rdparty/jvm/org/fusesource/jansi/BUILD new file mode 100644 index 0000000..49ad960 --- /dev/null +++ b/tests/3rdparty/jvm/org/fusesource/jansi/BUILD @@ -0,0 +1,10 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +java_import( + name = "jansi", + jars = [ + "//external:jar/org/fusesource/jansi/jansi" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/org/jline/BUILD b/tests/3rdparty/jvm/org/jline/BUILD new file mode 100644 index 0000000..94b5560 --- /dev/null +++ b/tests/3rdparty/jvm/org/jline/BUILD @@ -0,0 +1,51 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +java_import( + name = "jline_native", + jars = [ + "//external:jar/org/jline/jline_native" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) + +java_import( + name = "jline_terminal", + jars = [ + "//external:jar/org/jline/jline_terminal" + ], + runtime_deps = [ + ":jline_native" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) + +java_import( + name = "jline_terminal_jansi", + jars = [ + "//external:jar/org/jline/jline_terminal_jansi" + ], + runtime_deps = [ + "//3rdparty/jvm/org/fusesource/jansi:jansi", + ":jline_terminal" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) + +java_import( + name = "jline_terminal_jna", + jars = [ + "//external:jar/org/jline/jline_terminal_jna" + ], + runtime_deps = [ + "//3rdparty/jvm/net/java/dev/jna:jna", + ":jline_terminal" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/org/scala_js/BUILD b/tests/3rdparty/jvm/org/scala_js/BUILD index bc9597d..f57f1af 100644 --- a/tests/3rdparty/jvm/org/scala_js/BUILD +++ b/tests/3rdparty/jvm/org/scala_js/BUILD @@ -28,6 +28,21 @@ scala_import( jars = [ "//external:jar/org/scala_js/scalajs_library_2_13" ], + runtime_deps = [ + "//3rdparty/jvm/org/scala_lang:scala_library", + ":scalajs_javalib", + ":scalajs_scalalib" + ], + visibility = [ + "//visibility:public" + ] +) + +scala_import( + name = "scalajs_scalalib", + jars = [ + "//external:jar/org/scala_js/scalajs_scalalib_2_13" + ], runtime_deps = [ "//3rdparty/jvm/org/scala_lang:scala_library", ":scalajs_javalib" diff --git a/tests/3rdparty/jvm/org/scala_lang/BUILD b/tests/3rdparty/jvm/org/scala_lang/BUILD index 12ab70b..f9bdba0 100644 --- a/tests/3rdparty/jvm/org/scala_lang/BUILD +++ b/tests/3rdparty/jvm/org/scala_lang/BUILD @@ -5,7 +5,7 @@ scala_import( "@scala3_library//jar" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) @@ -18,6 +18,22 @@ scala_import( "//3rdparty/jvm/org/scala_js:scalajs_library", ":scala_library" ], + visibility = [ + "//visibility:public" + ] +) + +scala_import( + name = "scala_compiler", + jars = [ + "//external:jar/org/scala_lang/scala_compiler" + ], + runtime_deps = [ + "//3rdparty/jvm/jline:jline", + "//3rdparty/jvm/org/fusesource/jansi:jansi", + ":scala_library", + ":scala_reflect" + ], visibility = [ "//3rdparty/jvm:__subpackages__" ] @@ -29,6 +45,16 @@ scala_import( "@scala_library_2_13//jar" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" + ] +) + +scala_import( + name = "scala_reflect", + exports = [ + "@scala_reflect_2_13//jar" + ], + visibility = [ + "//visibility:public" ] ) diff --git a/tests/3rdparty/jvm/org/scala_lang/modules/BUILD b/tests/3rdparty/jvm/org/scala_lang/modules/BUILD index 5b435ff..9c272e8 100644 --- a/tests/3rdparty/jvm/org/scala_lang/modules/BUILD +++ b/tests/3rdparty/jvm/org/scala_lang/modules/BUILD @@ -8,7 +8,7 @@ scala_import( "//3rdparty/jvm/org/scala_lang:scala3_library" ], visibility = [ - "//3rdparty/jvm:__subpackages__" + "//visibility:public" ] ) @@ -21,6 +21,19 @@ scala_import( "//3rdparty/jvm/org/scala_js:scalajs_library", "//3rdparty/jvm/org/scala_lang:scala3_library_sjs1" ], + visibility = [ + "//visibility:public" + ] +) + +scala_import( + name = "scala_parser_combinators", + jars = [ + "//external:jar/org/scala_lang/modules/scala_parser_combinators_3" + ], + runtime_deps = [ + "//3rdparty/jvm/org/scala_lang:scala3_library" + ], visibility = [ "//3rdparty/jvm:__subpackages__" ] diff --git a/tests/3rdparty/jvm/org/scala_sbt/BUILD b/tests/3rdparty/jvm/org/scala_sbt/BUILD index d7fcf1a..f83db7b 100644 --- a/tests/3rdparty/jvm/org/scala_sbt/BUILD +++ b/tests/3rdparty/jvm/org/scala_sbt/BUILD @@ -1,33 +1,184 @@ load("@rules_scala3//rules:scala.bzl", "scala_import") -java_import( + +scala_import( name = "compiler_interface", jars = [ - "//external:jar/org/scala_sbt/compiler_interface" + "//external:jar/org/scala_sbt/compiler_interface", + ], + visibility = [ + "//3rdparty/jvm:__subpackages__", ], runtime_deps = [ - ":util_interface" + ":util_interface", + ], +) + +scala_import( + name = "io", + jars = [ + "//external:jar/org/scala_sbt/io_3", ], visibility = [ - "//visibility:public" - ] + "//3rdparty/jvm:__subpackages__", + ], + runtime_deps = [ + "//3rdparty/jvm/com/swoval:file_tree_views", + "//3rdparty/jvm/net/java/dev/jna", + "//3rdparty/jvm/net/java/dev/jna:jna_platform", + "//3rdparty/jvm/org/scala_lang:scala3_library", + ], +) + +java_import( + name = "launcher_interface", + jars = [ + "//external:jar/org/scala_sbt/launcher_interface", + ], + visibility = [ + "//3rdparty/jvm:__subpackages__", + ], ) java_import( name = "test_interface", jars = [ - "//external:jar/org/scala_sbt/test_interface" + "//external:jar/org/scala_sbt/test_interface", + ], + visibility = [ + "//visibility:public", + ], +) + +scala_import( + name = "util_control", + jars = [ + "//external:jar/org/scala_sbt/util_control_3", ], visibility = [ - "//3rdparty/jvm:__subpackages__" - ] + "//3rdparty/jvm:__subpackages__", + ], + runtime_deps = [ + "//3rdparty/jvm/org/scala_lang:scala3_library", + "//3rdparty/jvm/org/scala_lang/modules:scala_collection_compat", + ], +) + +scala_import( + name = "util_core", + jars = [ + "//external:jar/org/scala_sbt/util_core_3", + ], + visibility = [ + "//3rdparty/jvm:__subpackages__", + ], + runtime_deps = [ + "//3rdparty/jvm/org/scala_lang:scala3_library", + "//3rdparty/jvm/org/scala_lang/modules:scala_collection_compat", + ], ) java_import( name = "util_interface", jars = [ - "//external:jar/org/scala_sbt/util_interface" + "//external:jar/org/scala_sbt/util_interface", + ], + visibility = [ + "//visibility:public", + ], +) + +scala_import( + name = "util_logging", + jars = [ + "//external:jar/org/scala_sbt/util_logging_3", + ], + visibility = [ + "//visibility:public", + ], + runtime_deps = [ + ":io", + ":util_core", + ":util_interface", + "//3rdparty/jvm/com/eed3si9n:sjson_new_core", + "//3rdparty/jvm/com/eed3si9n:sjson_new_scalajson", + "//3rdparty/jvm/com/lmax:disruptor", + "//3rdparty/jvm/org/apache/logging/log4j:log4j_api", + "//3rdparty/jvm/org/apache/logging/log4j:log4j_core", + "//3rdparty/jvm/org/jline:jline_terminal", + "//3rdparty/jvm/org/jline:jline_terminal_jansi", + "//3rdparty/jvm/org/jline:jline_terminal_jna", + "//3rdparty/jvm/org/scala_lang:scala3_library", + "//3rdparty/jvm/org/scala_lang/modules:scala_collection_compat", + "//3rdparty/jvm/org/scala_sbt/jline", + ], +) + +scala_import( + name = "zinc_apiinfo", + jars = [ + "//external:jar/org/scala_sbt/zinc_apiinfo_3", + ], + visibility = [ + "//3rdparty/jvm:__subpackages__", + ], + runtime_deps = [ + ":compiler_interface", + ":zinc_classfile", + "//3rdparty/jvm/org/scala_lang:scala3_library", + ], +) + +scala_import( + name = "zinc_classfile", + jars = [ + "//external:jar/org/scala_sbt/zinc_classfile_3", ], visibility = [ - "//3rdparty/jvm:__subpackages__" - ] + "//3rdparty/jvm:__subpackages__", + ], + runtime_deps = [ + ":compiler_interface", + ":io", + ":util_logging", + "//3rdparty/jvm/org/scala_lang:scala3_library", + ], +) + +scala_import( + name = "zinc_classpath", + jars = [ + "//external:jar/org/scala_sbt/zinc_classpath_3", + ], + visibility = [ + "//3rdparty/jvm:__subpackages__", + ], + runtime_deps = [ + ":compiler_interface", + ":io", + ":launcher_interface", + "//3rdparty/jvm/org/scala_lang:scala3_library", + ], +) + +scala_import( + name = "zinc_compile_core", + jars = [ + "//external:jar/org/scala_sbt/zinc_compile_core_3", + ], + visibility = [ + "//visibility:public", + ], + runtime_deps = [ + ":compiler_interface", + ":io", + ":launcher_interface", + ":util_control", + ":util_logging", + ":zinc_apiinfo", + ":zinc_classfile", + ":zinc_classpath", + "//3rdparty/jvm/net/openhft:zero_allocation_hashing", + "//3rdparty/jvm/org/scala_lang:scala3_library", + "//3rdparty/jvm/org/scala_lang/modules:scala_parser_combinators", + ], ) diff --git a/tests/3rdparty/jvm/org/scala_sbt/jline/BUILD b/tests/3rdparty/jvm/org/scala_sbt/jline/BUILD new file mode 100644 index 0000000..8afa4ae --- /dev/null +++ b/tests/3rdparty/jvm/org/scala_sbt/jline/BUILD @@ -0,0 +1,13 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +java_import( + name = "jline", + jars = [ + "//external:jar/org/scala_sbt/jline/jline" + ], + runtime_deps = [ + "//3rdparty/jvm/org/fusesource/jansi:jansi" + ], + visibility = [ + "//3rdparty/jvm:__subpackages__" + ] +) diff --git a/tests/3rdparty/jvm/org/typelevel/BUILD b/tests/3rdparty/jvm/org/typelevel/BUILD new file mode 100644 index 0000000..2d2c31a --- /dev/null +++ b/tests/3rdparty/jvm/org/typelevel/BUILD @@ -0,0 +1,14 @@ +load("@rules_scala3//rules:scala.bzl", "scala_import") +scala_import( + name = "kind_projector", + jars = [ + "//external:jar/org/typelevel/kind_projector_2_13_1" + ], + runtime_deps = [ + "//3rdparty/jvm/org/scala_lang:scala_compiler", + "//3rdparty/jvm/org/scala_lang:scala_library" + ], + visibility = [ + "//visibility:public" + ] +)