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 = "one_jar_test", 28 target_under_test = kt_for_analysis.kt_jvm_import( 29 name = "one_jar", 30 jars = [ 31 kt_testing_rules.create_file(name = "one_jar.jar"), 32 ], 33 ), 34) 35 36kt_jvm_import_analysis_test( 37 name = "many_jar_test", 38 target_under_test = kt_for_analysis.kt_jvm_import( 39 name = "many_jar", 40 jars = [ 41 kt_testing_rules.create_file(name = "many_jar_0.jar"), 42 kt_testing_rules.create_file(name = "many_jar_2.jar"), 43 ], 44 ), 45) 46