blob: f408c28ae9f49bbe52186f2bfd4fe8570a932a8e [file] [log] [blame]
/*
* Copyright 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* This file was created using the `create_project.py` script located in the
* `<AndroidX root>/development/project-creator` directory.
*
* Please use that script when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
import androidx.build.Publish
plugins {
id("AndroidXPlugin")
id("com.android.library")
}
dependencies {
api("androidx.media:media:1.4.1")
api(libs.guavaListenableFuture)
// We should keep androidx.core up-to-date to keep an up-to-date BuildCompat dependency.
// See b/283315121 for context, However we cannot depend on tip of the tree dependency because
// it prevents our library releases, so we should update this dependency manually whenever
// there is a new stable release of it.
implementation("androidx.core:core:1.10.1")
implementation("androidx.appcompat:appcompat:1.1.0")
implementation("androidx.palette:palette:1.0.0")
implementation("androidx.recyclerview:recyclerview:1.1.0")
implementation("androidx.appcompat:appcompat-resources:1.2.0")
implementation project(":annotation:annotation-experimental")
testImplementation(libs.junit)
testImplementation(libs.testCore)
testImplementation(libs.truth)
testImplementation(libs.robolectric)
androidTestImplementation(libs.multidex)
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.truth)
androidTestImplementation(libs.espressoCore, excludes.espresso)
androidTestImplementation(project(":media:version-compat-tests:lib"))
androidTestImplementation(project(":mediarouter:mediarouter-testing"))
}
android {
buildTypes.all {
consumerProguardFiles "proguard-rules.pro"
}
defaultConfig {
multiDexEnabled true
}
namespace "androidx.mediarouter"
}
androidx {
name = "MediaRouter"
publish = Publish.SNAPSHOT_AND_RELEASE
inceptionYear = "2013"
description = "Android MediaRouter Support Library"
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
}