diff options
author | nickreid <nickreid@google.com> | 2022-10-19 13:06:02 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-10-19 13:06:35 -0700 |
commit | 89890c8b2faaff2652d88caf3a4e89073ee52c0f (patch) | |
tree | 0808c2700ca3bb000afe7e6442f83975a4e63343 /tests/analysis/jvm_library_test.bzl | |
parent | 9376338f9cc2c8b4bfd12897f6883938320c845c (diff) | |
download | bazelbuild-kotlin-rules-89890c8b2faaff2652d88caf3a4e89073ee52c0f.tar.gz |
Allow foo/testing/ to befriend code in foo/
PiperOrigin-RevId: 482282641
Change-Id: Iba8da3d2d9b6e638fa2264968bbfe93bab66b0f2
Diffstat (limited to 'tests/analysis/jvm_library_test.bzl')
-rw-r--r-- | tests/analysis/jvm_library_test.bzl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/analysis/jvm_library_test.bzl b/tests/analysis/jvm_library_test.bzl index a73bbbc..5e4eebb 100644 --- a/tests/analysis/jvm_library_test.bzl +++ b/tests/analysis/jvm_library_test.bzl @@ -112,6 +112,14 @@ _test = analysistest.make( jvm_library_test = _test +def kt_jvm_library_under_test(name, **kwargs): + kt_jvm_library( + name = name, + tags = ONLY_FOR_ANALYSIS_TEST_TAGS, + **kwargs + ) + return name + def _coverage_test_impl(ctx): env = analysistest.begin(ctx) target_under_test = analysistest.target_under_test(env) |