This commit is contained in:
Hubert Plociniczak 2024-04-25 17:06:51 +02:00
parent 94e3a35e2e
commit 0ae2b60259
3 changed files with 21 additions and 5 deletions

View File

@ -1,4 +1,4 @@
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_library")
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_library", "scala_test")
scala_library(
name = "cli",
@ -12,4 +12,20 @@ scala_library(
"@maven//:org_slf4j_slf4j_api",
##"@maven//:org_scala_lang_scala_library",
],
)
scala_test(
name = "tests",
srcs = glob(["src/test/scala/**/*.scala"]),
deps = [
":cli",
"@maven//:org_typelevel_cats_core_2_13",
"@maven//:org_typelevel_cats_kernel_2_13",
"@maven//:org_scalatest_scalatest_compatible",
"@maven//:org_scalatest_scalatest_core_2_13",
"@maven//:org_scalatest_scalatest_wordspec_2_13",
"@maven//:org_scalactic_scalactic_2_13",
"@maven//:org_scala_lang_scala_library",
],
tags = ["unit"]
)

View File

@ -9,9 +9,9 @@ scala_toolchain(
"-Djava.security.manager=allow",
],
## Allows for easier discovery of missing dependencies
##dependency_mode = "plus-one",
##dependency_tracking_method = "ast",
##strict_deps_mode = "error",
## dependency_mode = "plus-one",
## dependency_tracking_method = "ast",
## strict_deps_mode = "error",
visibility = ["//visibility:public"]
)

View File

@ -9,5 +9,5 @@ java_library(
"@maven//:com_fasterxml_jackson_core_jackson_databind",
"@maven//:com_fasterxml_jackson_core_jackson_core"
],
visibility = ["//visibility:public"],
visibility = ["//lib:__subpackages__"],
)