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 15licenses(["notice"]) # Apache 2.0 16 17package(default_visibility = ["//visibility:public"]) 18 19java_library( 20 name = "auto_service", 21 exported_plugins = [":auto_service_plugin"], 22 exports = ["@maven//:com_google_auto_service_auto_service_annotations"], 23) 24 25java_plugin( 26 name = "auto_service_plugin", 27 processor_class = "com.google.auto.service.processor.AutoServiceProcessor", 28 visibility = ["//visibility:private"], 29 deps = ["@maven//:com_google_auto_service_auto_service"], 30) 31 32java_plugin( 33 name = "auto_value_plugin", 34 processor_class = "com.google.auto.value.processor.AutoValueProcessor", 35 deps = ["@maven//:com_google_auto_value_auto_value"], 36) 37 38java_binary( 39 name = "jacoco_cli", 40 main_class = "org.jacoco.cli.internal.Main", 41 runtime_deps = [ 42 "@bazel_tools//tools/jdk:JacocoCoverage", 43 "@maven//:org_jacoco_org_jacoco_cli", 44 ], 45) 46 47genrule( 48 name = "stub_tool", 49 outs = ["stub_tool.sh"], 50 cmd = "exit 1", 51 executable = True, 52) 53