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 22jvm_library_test( 23 name = "no_java_srcs_test", 24 target_under_test = rules_for_test.kt_jvm_library( 25 name = "no_java_srcs", 26 srcs = [ 27 "Input.kt", 28 ], 29 ), 30) 31