1*455610afSAndroid Build Coastguard Worker// Copyright (C) 2023 The Android Open Source Project 2*455610afSAndroid Build Coastguard Worker// 3*455610afSAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*455610afSAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*455610afSAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*455610afSAndroid Build Coastguard Worker// 7*455610afSAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*455610afSAndroid Build Coastguard Worker// 9*455610afSAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*455610afSAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*455610afSAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*455610afSAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*455610afSAndroid Build Coastguard Worker// limitations under the License. 14*455610afSAndroid Build Coastguard Worker 15*455610afSAndroid Build Coastguard Workerpackage { 16*455610afSAndroid Build Coastguard Worker default_applicable_licenses: ["external_apache_commons_lang_license"], 17*455610afSAndroid Build Coastguard Worker} 18*455610afSAndroid Build Coastguard Worker 19*455610afSAndroid Build Coastguard Workerlicense { 20*455610afSAndroid Build Coastguard Worker name: "external_apache_commons_lang_license", 21*455610afSAndroid Build Coastguard Worker visibility: [":__subpackages__"], 22*455610afSAndroid Build Coastguard Worker license_kinds: [ 23*455610afSAndroid Build Coastguard Worker "SPDX-license-identifier-Apache-2.0", 24*455610afSAndroid Build Coastguard Worker ], 25*455610afSAndroid Build Coastguard Worker license_text: [ 26*455610afSAndroid Build Coastguard Worker "LICENSE", 27*455610afSAndroid Build Coastguard Worker "LICENSE.txt", 28*455610afSAndroid Build Coastguard Worker "NOTICE.txt", 29*455610afSAndroid Build Coastguard Worker ], 30*455610afSAndroid Build Coastguard Worker} 31*455610afSAndroid Build Coastguard Worker 32*455610afSAndroid Build Coastguard Workerjava_library { 33*455610afSAndroid Build Coastguard Worker name: "apache-commons-lang", 34*455610afSAndroid Build Coastguard Worker host_supported: true, 35*455610afSAndroid Build Coastguard Worker srcs: ["src/main/java/**/*.java"], 36*455610afSAndroid Build Coastguard Worker exclude_srcs: ["src/main/java/**/MethodInvokers.java"], 37*455610afSAndroid Build Coastguard Worker sdk_version: "current", 38*455610afSAndroid Build Coastguard Worker min_sdk_version: "33", 39*455610afSAndroid Build Coastguard Worker 40*455610afSAndroid Build Coastguard Worker java_version: "1.8", 41*455610afSAndroid Build Coastguard Worker apex_available: [ 42*455610afSAndroid Build Coastguard Worker "//apex_available:platform", 43*455610afSAndroid Build Coastguard Worker "com.android.ondevicepersonalization", 44*455610afSAndroid Build Coastguard Worker ], 45*455610afSAndroid Build Coastguard Worker visibility: [ 46*455610afSAndroid Build Coastguard Worker "//external/apache-velocity-engine", 47*455610afSAndroid Build Coastguard Worker "//packages/modules/OnDevicePersonalization:__subpackages__", 48*455610afSAndroid Build Coastguard Worker ], 49*455610afSAndroid Build Coastguard Worker errorprone: { 50*455610afSAndroid Build Coastguard Worker javacflags: [ 51*455610afSAndroid Build Coastguard Worker "-Xep:ReturnValueIgnored:WARN", 52*455610afSAndroid Build Coastguard Worker ], 53*455610afSAndroid Build Coastguard Worker }, 54*455610afSAndroid Build Coastguard Worker} 55