Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed May 3, 2024
1 parent e44369c commit 01bf4a4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/gazelle/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ bazel_dep(
name = "bazel_skylib",
version = "1.5.0",
)

git_override(
module_name = "bazel_skylib",
remote = "https://github.com/illicitonion/bazel-skylib.git",
commit = "ce8deea5c27571e1924d31158ce43893a8f7262e",
)

bazel_dep(
name = "rules_jvm_external",
version = "6.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@contrib_rules_jvm//java:defs.bzl", "java_test_suite")
load("@bazel_skylib//rules:diff_test.bzl", "diff_test")

genquery(
Expand All @@ -12,3 +13,15 @@ diff_test(
file1 = ":generated_targets",
file2 = ":expected-query-output",
)

java_test_suite(
name = "gazelle",
srcs = ["ExampleTest.java"],
runner = "junit5",
runtime_deps = [
"@maven//:org_junit_jupiter_junit_jupiter_engine",
"@maven//:org_junit_platform_junit_platform_launcher",
"@maven//:org_junit_platform_junit_platform_reporting",
],
deps = ["@maven//:org_junit_jupiter_junit_jupiter_api"],
)

0 comments on commit 01bf4a4

Please sign in to comment.