1*238ab3e7SAndroid Build Coastguard Worker// 2*238ab3e7SAndroid Build Coastguard Worker// Copyright (C) 2012 The Android Open Source Project 3*238ab3e7SAndroid Build Coastguard Worker// 4*238ab3e7SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 5*238ab3e7SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 6*238ab3e7SAndroid Build Coastguard Worker// You may obtain a copy of the License at 7*238ab3e7SAndroid Build Coastguard Worker// 8*238ab3e7SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 9*238ab3e7SAndroid Build Coastguard Worker// 10*238ab3e7SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 11*238ab3e7SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 12*238ab3e7SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*238ab3e7SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 14*238ab3e7SAndroid Build Coastguard Worker// limitations under the License. 15*238ab3e7SAndroid Build Coastguard Worker// 16*238ab3e7SAndroid Build Coastguard Worker 17*238ab3e7SAndroid Build Coastguard Workerpackage { 18*238ab3e7SAndroid Build Coastguard Worker default_team: "trendy_team_java_core_libraries", 19*238ab3e7SAndroid Build Coastguard Worker default_visibility: ["//visibility:private"], 20*238ab3e7SAndroid Build Coastguard Worker default_applicable_licenses: ["external_moshi_license"], 21*238ab3e7SAndroid Build Coastguard Worker} 22*238ab3e7SAndroid Build Coastguard Worker 23*238ab3e7SAndroid Build Coastguard Workerlicense { 24*238ab3e7SAndroid Build Coastguard Worker name: "external_moshi_license", 25*238ab3e7SAndroid Build Coastguard Worker visibility: [":__subpackages__"], 26*238ab3e7SAndroid Build Coastguard Worker license_kinds: [ 27*238ab3e7SAndroid Build Coastguard Worker "SPDX-license-identifier-Apache-2.0", 28*238ab3e7SAndroid Build Coastguard Worker ], 29*238ab3e7SAndroid Build Coastguard Worker license_text: [ 30*238ab3e7SAndroid Build Coastguard Worker "LICENSE.txt", 31*238ab3e7SAndroid Build Coastguard Worker ], 32*238ab3e7SAndroid Build Coastguard Worker} 33*238ab3e7SAndroid Build Coastguard Worker 34*238ab3e7SAndroid Build Coastguard Workerjava_library { 35*238ab3e7SAndroid Build Coastguard Worker name: "moshi", 36*238ab3e7SAndroid Build Coastguard Worker host_supported: true, 37*238ab3e7SAndroid Build Coastguard Worker sdk_version: "core_current", 38*238ab3e7SAndroid Build Coastguard Worker visibility: [ 39*238ab3e7SAndroid Build Coastguard Worker "//prebuilts/sdk/current/androidx/m2repository/androidx/benchmark:__subpackages__", 40*238ab3e7SAndroid Build Coastguard Worker ], 41*238ab3e7SAndroid Build Coastguard Worker srcs: [ 42*238ab3e7SAndroid Build Coastguard Worker "moshi/src/main/java/**/*.kt", 43*238ab3e7SAndroid Build Coastguard Worker "moshi/src/main/java/**/*.java", 44*238ab3e7SAndroid Build Coastguard Worker ], 45*238ab3e7SAndroid Build Coastguard Worker static_libs: [ 46*238ab3e7SAndroid Build Coastguard Worker "okio-lib", 47*238ab3e7SAndroid Build Coastguard Worker "jsr305", 48*238ab3e7SAndroid Build Coastguard Worker ], 49*238ab3e7SAndroid Build Coastguard Worker} 50