xref: /aosp_15_r20/external/hamcrest/hamcrest-core/Android.bp (revision 13e4719e1a36da4ffe406e4545ee2b1694a8da4f)
1*13e4719eSTreehugger Robot// Copyright (C) 2012 The Android Open Source Project
2*13e4719eSTreehugger Robot//
3*13e4719eSTreehugger Robot// Licensed under the Apache License, Version 2.0 (the "License");
4*13e4719eSTreehugger Robot// you may not use this file except in compliance with the License.
5*13e4719eSTreehugger Robot// You may obtain a copy of the License at
6*13e4719eSTreehugger Robot//
7*13e4719eSTreehugger Robot//      http://www.apache.org/licenses/LICENSE-2.0
8*13e4719eSTreehugger Robot//
9*13e4719eSTreehugger Robot// Unless required by applicable law or agreed to in writing, software
10*13e4719eSTreehugger Robot// distributed under the License is distributed on an "AS IS" BASIS,
11*13e4719eSTreehugger Robot// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*13e4719eSTreehugger Robot// See the License for the specific language governing permissions and
13*13e4719eSTreehugger Robot// limitations under the License.
14*13e4719eSTreehugger Robot//
15*13e4719eSTreehugger Robot//
16*13e4719eSTreehugger Robot
17*13e4719eSTreehugger Robotpackage {
18*13e4719eSTreehugger Robot    // See: http://go/android-license-faq
19*13e4719eSTreehugger Robot    // A large-scale-change added 'default_applicable_licenses' to import
20*13e4719eSTreehugger Robot    // all of the 'license_kinds' from "external_hamcrest_license"
21*13e4719eSTreehugger Robot    // to get the below license kinds:
22*13e4719eSTreehugger Robot    //   SPDX-license-identifier-BSD
23*13e4719eSTreehugger Robot    default_applicable_licenses: ["external_hamcrest_license"],
24*13e4719eSTreehugger Robot}
25*13e4719eSTreehugger Robot
26*13e4719eSTreehugger Robotjava_library_static {
27*13e4719eSTreehugger Robot    name: "hamcrest",
28*13e4719eSTreehugger Robot    host_supported: true,
29*13e4719eSTreehugger Robot    hostdex: true,
30*13e4719eSTreehugger Robot    srcs: ["src/main/java/**/*.java"],
31*13e4719eSTreehugger Robot    // b/267831518: Pin tradefed and dependencies to Java 11.
32*13e4719eSTreehugger Robot    java_version: "11",
33*13e4719eSTreehugger Robot    sdk_version: "core_current",
34*13e4719eSTreehugger Robot}
35