1*30877f79SAndroid Build Coastguard Worker// Copyright (C) 2017 The Android Open Source Project 2*30877f79SAndroid Build Coastguard Worker// 3*30877f79SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*30877f79SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*30877f79SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*30877f79SAndroid Build Coastguard Worker// 7*30877f79SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*30877f79SAndroid Build Coastguard Worker// 9*30877f79SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*30877f79SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*30877f79SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*30877f79SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*30877f79SAndroid Build Coastguard Worker// limitations under the License. 14*30877f79SAndroid Build Coastguard Workerapply from: "$gradle.ext.exoplayerSettingsDir/common_library_config.gradle" 15*30877f79SAndroid Build Coastguard Worker 16*30877f79SAndroid Build Coastguard Workerandroid.defaultConfig.minSdkVersion 17 17*30877f79SAndroid Build Coastguard Worker 18*30877f79SAndroid Build Coastguard Workerdependencies { 19*30877f79SAndroid Build Coastguard Worker implementation project(modulePrefix + 'library-common') 20*30877f79SAndroid Build Coastguard Worker implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion 21*30877f79SAndroid Build Coastguard Worker implementation 'androidx.leanback:leanback:1.0.0' 22*30877f79SAndroid Build Coastguard Worker compileOnly 'org.jetbrains.kotlin:kotlin-annotations-jvm:' + kotlinAnnotationsVersion 23*30877f79SAndroid Build Coastguard Worker} 24*30877f79SAndroid Build Coastguard Worker 25*30877f79SAndroid Build Coastguard Workerext { 26*30877f79SAndroid Build Coastguard Worker javadocTitle = 'Leanback extension' 27*30877f79SAndroid Build Coastguard Worker} 28*30877f79SAndroid Build Coastguard Workerapply from: '../../javadoc_library.gradle' 29*30877f79SAndroid Build Coastguard Worker 30*30877f79SAndroid Build Coastguard Workerext { 31*30877f79SAndroid Build Coastguard Worker releaseArtifactId = 'extension-leanback' 32*30877f79SAndroid Build Coastguard Worker releaseDescription = 'Leanback extension for ExoPlayer.' 33*30877f79SAndroid Build Coastguard Worker} 34*30877f79SAndroid Build Coastguard Workerapply from: '../../publish.gradle' 35