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("//tests/analysis:for_test.bzl", "rules_for_test") 16load("//tests/analysis:jvm_library_test.bzl", "jvm_library_test") 17 18package(default_testonly = True) 19 20licenses(["notice"]) 21 22rules_for_test.kt_jvm_library( 23 name = "deps_test_kt_dep", 24 srcs = [ 25 "Input.kt", 26 ], 27) 28 29rules_for_test.java_library( 30 name = "deps_test_java_dep", 31 srcs = [ 32 "Input.java", 33 ], 34) 35 36jvm_library_test( 37 name = "deps_test", 38 target_under_test = rules_for_test.kt_jvm_library( 39 name = "deps", 40 srcs = [ 41 "Foo.java", 42 ], 43 deps = [ 44 ":deps_test_java_dep", 45 ":deps_test_kt_dep", 46 ], 47 ), 48) 49