1# Copyright 2022 Google LLC. All rights reserved. 2# 3# Licensed under the Apache License, Version 2.0 (the License); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15load("//kotlin/common/testing:testing_rules.bzl", "kt_testing_rules") 16load("//kotlin/jvm/testing:for_analysis.bzl", "kt_for_analysis") 17load("//kotlin/jvm/testing:jvm_import_analysis_test.bzl", "kt_jvm_import_analysis_test") 18 19package( 20 default_applicable_licenses = ["//:license"], 21 default_testonly = True, 22) 23 24licenses(["notice"]) 25 26kt_jvm_import_analysis_test( 27 name = "runtime_deps_test", 28 target_under_test = kt_for_analysis.kt_jvm_import( 29 name = "runtime_deps", 30 jars = [ 31 kt_testing_rules.create_file(name = "runtime_deps.jar"), 32 ], 33 runtime_deps = [ 34 ":runtime_deps_test_dep", 35 ], 36 ), 37) 38 39kt_for_analysis.java_library( 40 name = "runtime_deps_test_dep", 41 srcs = [], 42) 43